summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 )