summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-06-16 15:24:46 -0400
committerJason Woodward2019-06-16 15:24:46 -0400
commit71daebb71c14b5319bbd1704bb8b7a02773911fa (patch)
treed25c4b03f22e0a7ac4e2aff8c7585710782a060c
parent9749bb0e299d2b9b8bb029ccd0ccecd5131c4ca4 (diff)
downloadslapt-src-71daebb71c14b5319bbd1704bb8b7a02773911fa.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 0ff7ef4..4af9d4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,6 +4,7 @@ SLACK_FILES = slack-desc slack-required slack-suggests slapt-srcrc
EXTRA_DIST = $(SLACK_FILES) slapt-src.8 slapt-src.ru.8
PKGDIR=`pwd`/pkg
+PKGREL = 1
clean-local: clean-pkg
.PHONY: clean-pkg
@@ -37,5 +38,5 @@ pkg: all
install slack-required $(PKGDIR)/install/
install slack-suggests $(PKGDIR)/install/
@echo "if [ ! -d etc/slapt-get ]; then mkdir -p etc/slapt-get; fi; if [ ! -f etc/slapt-get/slapt-srcrc ]; then mv -f etc/slapt-get/slapt-srcrc.new etc/slapt-get/slapt-srcrc; diff -q etc/slapt-get/slapt-srcrc etc/slapt-get/slapt-srcrc.new >/dev/null 2>&1 && rm etc/slapt-get/slapt-srcrc.new; fi;" > $(PKGDIR)/install/doinst.sh
- ( cd $(PKGDIR) && /sbin/makepkg -l y -c n ../@PACKAGE@-@PACKAGE_VERSION@-@host_cpu@-1.txz )
+ ( cd $(PKGDIR) && /sbin/makepkg -l y -c n ../@PACKAGE@-@PACKAGE_VERSION@-@host_cpu@-$(PKGREL).txz )