summaryrefslogtreecommitdiff
path: root/debian/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-03 17:40:10 -0600
committerJeff Carr <[email protected]>2024-01-03 17:40:10 -0600
commitcfcac121b9a35f489c958ba693958ec53f7d9f4b (patch)
treea5531f8bec8836b2175bb2d1ff7623ab48ae9d06 /debian/Makefile
parent529e1147a199fa4a2945c75d22024ac41bfbe0fa (diff)
more .deb rules
Signed-off-by: Jeff Carr <[email protected]>
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/