summaryrefslogtreecommitdiff
path: root/debian/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/Makefile')
-rw-r--r--debian/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/Makefile b/debian/Makefile
index 4c48021..8318fef 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -4,7 +4,7 @@ TOOLKITVERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1)
VERSION=${TOOLKITVERSION}-gui-${GUIVERSION}
-BASENAME=go-wit-gui
+BASENAME=go-gui-toolkits
all: help deb
@@ -42,7 +42,11 @@ DEBIAN:
echo ToolkitVersion: ${TOOLKITVERSION} >>DEBIAN/control
echo GuiVersion: ${GUIVERSION} >>DEBIAN/control
+ chmod +x DEBIAN
+
cp postinst DEBIAN
+ echo cd /usr/lib/go-gui/ >>DEBIAN/postinst
+ echo ln -sf ${GUIVERSION}/${TOOLKITVERSION} latest >>DEBIAN/postinst
build:
mv DEBIAN ../files/