summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-06-16 15:24:22 -0400
committerJason Woodward2019-06-16 15:24:22 -0400
commit7fcc246e41c62c161c4a948d33751445ad155338 (patch)
treeb43182aefb7c2379b54c24f738d992425da57118
parent4813e6c7c32e58eec11db82b3fb1f464be1f66c2 (diff)
downloadgslapt-master.tar.gz
add PKGREL automake variable for packaging release tagHEADmaster
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b5c3ce9..160fe43 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,7 @@
SUBDIRS = src po ui
PKGDIR = `pwd`/pkg
+PKGREL = 1
EXTRA_DIST = \
FAQ \
@@ -54,6 +55,6 @@ pkg: all
@echo "done" >> $(PKGDIR)/install/doinst.sh
@echo 'if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database &>/dev/null; fi' >> $(PKGDIR)/install/doinst.sh
strip --strip-unneeded $(PKGDIR)/$(sbindir)/@PACKAGE@
- ( cd $(PKGDIR) && /sbin/makepkg -l y -c n ../@PACKAGE@-@VERSION@-@host_cpu@-1.txz )
+ ( cd $(PKGDIR) && /sbin/makepkg -l y -c n ../@PACKAGE@-@VERSION@-@host_cpu@-$(PKGREL).txz )