summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-17 23:12:10 +0100
committerErich Eckner <git@eckner.net>2019-01-17 23:12:10 +0100
commit71accb7778f5af414b42caa88ab63e979f4b937d (patch)
tree8de2004c1a07e280c9bbe9ef70b24d12f70fc1aa /Makefile
parentc4de3d676c5bbbad4ea1b25c80e3221203df1dc3 (diff)
parent43f37ce943d81dd001ec25627e163af73d02f4c5 (diff)
downloadasp32-71accb7778f5af414b42caa88ab63e979f4b937d.tar.xz
Merge branch 'upstream/master'
Diffstat (limited to 'Makefile')
-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