diff options
| author | Jeff Carr <[email protected]> | 2024-01-03 17:24:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-03 17:24:12 -0600 |
| commit | 529e1147a199fa4a2945c75d22024ac41bfbe0fa (patch) | |
| tree | 8a748cff9bec989e9df6577952a774e053f4c816 | |
| parent | e20dc8e46ecfe69f187ddd7dcf0d1b0f56b92781 (diff) | |
allow multiple copies to be installed
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | debian/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/debian/Makefile b/debian/Makefile index 993769d..4c48021 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -1,6 +1,8 @@ # GITVERSION=$(shell git rev-parse FETCH_HEAD) GUIVERSION=$(shell cd ../../gui && git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//') -VERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//') +TOOLKITVERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//') + +VERSION=${TOOLKITVERSION}-gui-${GUIVERSION} BASENAME=go-wit-gui @@ -21,9 +23,9 @@ clean: rm -rf DEBIAN extract: - mkdir -p ../files/usr/lib/go-gui - cp ../*.so ../files/usr/lib/go-gui/ - cp ../README.md ../files/usr/lib/go-gui/ + mkdir -p ../files/usr/lib/go-gui/${GUIVERSION}/${TOOLKITVERSION} + cp ../*.so ../files/usr/lib/go-gui/${GUIVERSION}/${TOOLKITVERSION}/ + cp ../README.md ../files/usr/lib/go-gui/${GUIVERSION}/${TOOLKITVERSION}/ # makes the DEBIAN/ directory DEBIAN: @@ -37,6 +39,7 @@ DEBIAN: mkdir -p DEBIAN cp control DEBIAN/ echo Version: ${VERSION} >>DEBIAN/control + echo ToolkitVersion: ${TOOLKITVERSION} >>DEBIAN/control echo GuiVersion: ${GUIVERSION} >>DEBIAN/control cp postinst DEBIAN |
