diff options
author | Erich Eckner <git@eckner.net> | 2021-05-19 10:00:17 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-05-19 10:00:17 +0200 |
commit | 5e8932cef2e9d2f71c36e4539114add3d3d03937 (patch) | |
tree | d528e990e532038ab3c4f2b283b010223aab7016 /Makefile | |
parent | 1abab84c3f1563fb3933f48e1e7c74fe643ffb26 (diff) | |
download | passwort-tresor-5e8932cef2e9d2f71c36e4539114add3d3d03937.tar.xz |
verwendet jetzt passv0.7
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -20,13 +20,12 @@ # DESTDIR = -ETCDIR = /etc BINDIR = /usr/bin MANDIR = /usr/share/man -VERSION = 0.6.1 +VERSION = 0.7 -all: man.commons passwort-tresor passwort-tresor.1 +all: man.commons grep-passwort grep-passwort.1 neues-passwort neues-passwort.1 %: %.in sed " \ @@ -35,20 +34,18 @@ all: man.commons passwort-tresor passwort-tresor.1 s@#ETCDIR#@$(ETCDIR)@; \ s@#HELPTEXT#\(\s\+\)#@ --help \1display this help and exit\n --version\1display version and exit@; \ " $< > $@ - [ "$@" = "passwort-tresor" ] && chmod +x "$@" || true + [ "$@" != grep-passwort ] && [ "$@" != neues-passwort ] || chmod +x "$@" %.1: % man.commons grep -v "^$<(" man.commons | sed '/^\[SEE ALSO]$$/{n;:a;N;/\[/b;s/\n/, /;ta;}' > "$<.common" && \ help2man \ - -n 'Wrapper for gpg to store passwords (and other text)' \ -o "$@" -N --include $<.common --no-discard-stderr "./$<" .PHONY: install dist clean install: all - install -D -m0755 passwort-tresor $(DESTDIR)$(BINDIR)/passwort-tresor - install -D -m0644 passwort-tresor.1 $(DESTDIR)$(MANDIR)/man1/passwort-tresor.1 - install -D -m0644 passwort-tresor.konf $(DESTDIR)$(ETCDIR)/passwort-tresor.konf + install -D -m0755 -t $(DESTDIR)$(BINDIR) grep-passwort neues-passwort + install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1/ grep-passwort.1 neues-passwort.1 clean: ls -A | \ |