summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 02b9508..cdd57ae 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
PACKAGE_NAME = asp32
-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="asp32 $(VERSION)" \
-a manmanual="asp32 manual" $<
@@ -53,11 +54,4 @@ install: all
install -Dm644 $(BASH_COMPLETION) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/asp32
install -Dm644 $(ZSH_COMPLETION) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_asp32
-dist:
- git archive --format=tar --prefix=asp32-$(VERSION)/ $(VERSION) | gzip -9 > asp32-$(VERSION).tar.gz
- gpg --detach-sign --use-agent asp32-$(VERSION).tar.gz
-
-upload:
- scp asp32-$(VERSION).tar.gz asp32-$(VERSION).tar.gz.sig sources.archlinux32.org:sources/
-
-.PHONY: all clean install uninstall dist upload
+.PHONY: all clean install uninstall dist