diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-12-02 05:07:05 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-12-02 05:07:05 +0100 |
commit | d8d46880be6ed10c16382d8d2f9ed6de34c1df14 (patch) | |
tree | 4a832d6b421c2f1a01bc27b9de8c825eb96e2498 /Makefile | |
parent | improve readme (diff) | |
download | exec-as-d8d46880be6ed10c16382d8d2f9ed6de34c1df14.tar.gz exec-as-d8d46880be6ed10c16382d8d2f9ed6de34c1df14.tar.bz2 exec-as-d8d46880be6ed10c16382d8d2f9ed6de34c1df14.tar.xz |
add man page
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -72,10 +72,10 @@ obj/%.o: src/%.c # Install rules .PHONY: install -install: install-base +install: install-base install-man .PHONY: install-all -install-all: install-base +install-all: install-base install-doc .PHONY: install-base install-base: install-command install-copyright @@ -98,6 +98,14 @@ install-license: install -dm755 -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)" install -m644 LICENSE -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)" +.PHONY: install-doc +install-doc: install-man + +.PHONY: install-man +install-man: + install -dm755 -- "$(DESTDIR)$(MAN1DIR)" + install -m644 doc/man/exec-as.1 -- "$(DESTDIR)$(MAN1DIR)/$(COMMAND).1" + # Uninstall rules @@ -108,6 +116,7 @@ uninstall: -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING" -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE" -rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)" + -rm -- "$(DESTDIR)$(MAN1DIR)/$(COMMAND).1" |