simplier versions now

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-10 16:31:46 -06:00
parent 926242710b
commit a9acc5d707
1 changed files with 5 additions and 7 deletions

12
debian/Makefile vendored
View File

@ -2,7 +2,7 @@
GUIVERSION=$(shell cd ../../../widget && 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}
VERSION=${TOOLKITVERSION}
BASENAME=go-gui-toolkits
@ -23,10 +23,10 @@ clean:
rm -rf DEBIAN
extract:
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}/
cd ../files/usr/lib/go-gui/ && ln -s ${GUIVERSION}/${TOOLKITVERSION}/ latest
mkdir -p ../files/usr/lib/go-gui/${VERSION}
cp ../../*.so ../files/usr/lib/go-gui/${VERSION}/
cp ../README.md ../files/usr/lib/go-gui/${VERSION}/
cd ../files/usr/lib/go-gui/ && ln -s ${VERSION}/ latest
# makes the DEBIAN/ directory
DEBIAN:
@ -40,8 +40,6 @@ DEBIAN:
mkdir -p DEBIAN
cp control DEBIAN/
echo Version: ${VERSION} >>DEBIAN/control
echo ToolkitVersion: ${TOOLKITVERSION} >>DEBIAN/control
echo GuiVersion: ${GUIVERSION} >>DEBIAN/control
chmod +x DEBIAN