Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 8616b7f..cbf4e7c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
PACKAGE_NAME = asp
-VERSION = $(shell git describe --dirty 2>/dev/null)
+VERSION := $(shell git describe --dirty 2>/dev/null)
PREFIX = /usr/local
@@ -35,7 +35,8 @@ edit = $(V_GEN) m4 -P $@.in | sed 's/@ASP_VERSION@/$(VERSION)/' >$@ && chmod go-
doc: $(MANPAGES)
man/%: man/%.txt Makefile
- $(V_GEN) a2x -d manpage \
+ $(V_GEN) a2x \
+ -d manpage \
-f manpage \
-a manversion="$(PACKAGE_NAME) $(VERSION)" \
-a manmanual="$(PACKAGE_NAME) manual" $<
@@ -53,8 +54,4 @@ install: all
install -Dm644 $(BASH_COMPLETION) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/asp
install -Dm644 $(ZSH_COMPLETION) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_asp
-dist:
- git archive --format=tar --prefix=$(PACKAGE_NAME)-$(VERSION)/ $(VERSION) | gzip -9 > $(PACKAGE_NAME)-$(VERSION).tar.gz
- gpg --detach-sign --use-agent $(PACKAGE_NAME)-$(VERSION).tar.gz
-
.PHONY: all clean install uninstall dist