index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | Makefile | 23 |
@@ -1,14 +1,14 @@ -PACKAGE_NAME = asp +PACKAGE_NAME = asp32 VERSION = $(shell git describe --dirty 2>/dev/null) PREFIX = /usr/local BINPROGS = \ - asp + asp32 MANPAGES = \ - man/asp.1 + man/asp32.1 BASH_COMPLETION = \ shell/bash-completion @@ -37,8 +37,8 @@ doc: $(MANPAGES) man/%: man/%.txt Makefile $(V_GEN) a2x -d manpage \ -f manpage \ - -a manversion="$(PACKAGE_NAME) $(VERSION)" \ - -a manmanual="$(PACKAGE_NAME) manual" $< + -a manversion="asp32 $(VERSION)" \ + -a manmanual="asp32 manual" $< check: $(BINPROGS) @for f in $(BINPROGS); do bash -O extglob -n $$f; done @@ -50,11 +50,14 @@ install: all install -dm755 $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 install -m755 $(BINPROGS) $(DESTDIR)$(PREFIX)/bin install -m644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1 - install -Dm644 $(BASH_COMPLETION) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/asp - install -Dm644 $(ZSH_COMPLETION) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_asp + 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=$(PACKAGE_NAME)-$(VERSION)/ $(VERSION) | gzip -9 > $(PACKAGE_NAME)-$(VERSION).tar.gz - gpg --detach-sign --use-agent $(PACKAGE_NAME)-$(VERSION).tar.gz + git archive --format=tar --prefix=asp32-$(VERSION)/ $(VERSION) | gzip -9 > asp32-$(VERSION).tar.gz + gpg --detach-sign --use-agent asp32-$(VERSION).tar.gz -.PHONY: all clean install uninstall dist +upload: + scp asp32-$(VERSION).tar.gz asp32-$(VERSION).tar.gz.sig sources.archlinux32.org:sources/ + +.PHONY: all clean install uninstall dist upload |