From 5e8932cef2e9d2f71c36e4539114add3d3d03937 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 May 2021 10:00:17 +0200 Subject: verwendet jetzt pass --- Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4713e28..c213025 100644 --- a/Makefile +++ b/Makefile @@ -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 | \ -- cgit v1.2.3-70-g09d2