diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-28 14:10:09 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-28 14:10:13 +0100 |
commit | a81ce983d6c340d323ffc032d92131ebc6d11484 (patch) | |
tree | 8a671abef4d7b4262bf49c9dbc86d95ddb925ab5 /Makefile | |
parent | improve makefile and file structure (diff) | |
download | gpp-a81ce983d6c340d323ffc032d92131ebc6d11484.tar.gz gpp-a81ce983d6c340d323ffc032d92131ebc6d11484.tar.bz2 gpp-a81ce983d6c340d323ffc032d92131ebc6d11484.tar.xz |
add manpage
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -81,7 +81,7 @@ obj/fdl.texinfo: doc/info/fdl.texinfo .PHONY: install -install: install-core install-info +install: install-core install-info install-man .PHONY: install install-all: install-core install-doc @@ -100,7 +100,7 @@ install-license: install -m644 COPYING LICENSE -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)" .PHONY: install-doc -install-doc: install-info install-pdf install-dvi install-ps +install-doc: install-info install-pdf install-dvi install-ps install-man .PHONY: install-info install-info: bin/gpp.info @@ -110,17 +110,22 @@ install-info: bin/gpp.info .PHONY: install-pdf install-pdf: bin/gpp.pdf install -dm755 -- "$(DESTDIR)$(DOCDIR)" - install -m644 -- "$<" "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf" + install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf" .PHONY: install-dvi install-dvi: bin/gpp.dvi install -dm755 -- "$(DESTDIR)$(DOCDIR)" - install -m644 -- "$<" "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi" + install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi" .PHONY: install-ps install-ps: bin/gpp.ps install -dm755 -- "$(DESTDIR)$(DOCDIR)" - install -m644 -- "$<" "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps" + install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps" + +.PHONY: install-man +install-man: doc/man/gpp.1 + install -dm755 -- "$(DESTDIR)$(MAN1DIR)" + install -m644 $< -- "$(DESTDIR)$(MAN1DIR)/$(COMMAND).1" @@ -134,6 +139,7 @@ uninstall: -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf" -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi" -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps" + -rm -- "$(DESTDIR)$(MAN1DIR)/$(COMMAND).1" |