diff options
author | Erich Eckner <git@eckner.net> | 2017-10-30 10:14:34 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-30 10:14:34 +0100 |
commit | 452eec6f0017e9eab44bb46e2eacbd1d617a0f25 (patch) | |
tree | 9f7ee300400047daed9ba6536da3d3f32ee99e4d /Makefile | |
parent | 15bde8deb371cf225efb23bd6fc647cafeed4982 (diff) | |
download | cryptfs-daemon-452eec6f0017e9eab44bb46e2eacbd1d617a0f25.tar.xz |
manpage new
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -23,6 +23,7 @@ DESTDIR = BINDIR = /usr/bin DEVDIR = /dev ETCDIR = /etc +MANDIR = /usr/share/man MAPDIR = $(DEVDIR)/mapper RCDDIR = $(ETCDIR)/rc.d SYSTEMDDIR = /usr/lib/systemd/system @@ -32,19 +33,19 @@ CONF_PREFIXES = VERSION = 0.4.3 -all: cryptfs.bin cryptfs.rc cryptfs.service +all: cryptfs.8 cryptfs.bin cryptfs.rc cryptfs.service %: %.in sed " \ - s@#BINDIR#@$(BINDIR)@; \ - s@#DEVDIR#@$(DEVDIR)@; \ - s@#ETCDIR#@$(ETCDIR)@; \ - s@#MAPDIR#@$(MAPDIR)@; \ - s@#RCDDIR#@$(RCDDIR)@; \ - s@#SYSTEMDDIR#@$(SYSTEMDDIR)@; \ - s@#UUIDDIR#@$(UUIDDIR)@; \ - s@#CONF_PREFIXES#@$(CONF_PREFIXES)@; \ - s@#VERSION#@$(VERSION)@; \ + s@#BINDIR#@$(BINDIR)@g; \ + s@#DEVDIR#@$(DEVDIR)@g; \ + s@#ETCDIR#@$(ETCDIR)@g; \ + s@#MAPDIR#@$(MAPDIR)@g; \ + s@#RCDDIR#@$(RCDDIR)@g; \ + s@#SYSTEMDDIR#@$(SYSTEMDDIR)@g; \ + s@#UUIDDIR#@$(UUIDDIR)@g; \ + s@#CONF_PREFIXES#@$(CONF_PREFIXES)@g; \ + s@#VERSION#@$(VERSION)@g; \ " $< | \ if which "ping6" >/dev/null 2>&1; then \ sed 's@#PING6#@ping6@'; \ @@ -58,6 +59,7 @@ all: cryptfs.bin cryptfs.rc cryptfs.service install_bin: install -D -m0755 cryptfs.bin $(DESTDIR)$(BINDIR)/cryptfs + install -D -m0644 cryptfs.8 $(DESTDIR)$(MANDIR)/man8/cryptfs.8 install_systemd: install_bin install -D -m0644 cryptfs.service $(DESTDIR)$(SYSTEMDDIR)/cryptfs.service @@ -66,7 +68,7 @@ install_sysvinit: install_bin install -D -m0755 cryptfs.rc $(DESTDIR)$(RCDDIR)/cryptfs clean: - rm -f cryptfs.bin cryptfs.rc cryptfs.service + rm -f cryptfs.8 cryptfs.bin cryptfs.rc cryptfs.service dist: clean git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true |