From 43f37ce943d81dd001ec25627e163af73d02f4c5 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 17 Sep 2018 19:46:27 -0400 Subject: tidy up Makefile --- Makefile | 9 +++------ 1 file 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 -- cgit v1.2.3-54-g00ecf