From: Martin Mares Date: Fri, 8 Aug 2014 22:52:32 +0000 (+0200) Subject: ucw/doc/Makefile: Do not mix UCW_MANPAGES with MANPAGES X-Git-Tag: v6.1~3^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a561f51276599f30c7ad879cb41112c5a797aa67;p=libucw.git ucw/doc/Makefile: Do not mix UCW_MANPAGES with MANPAGES --- diff --git a/ucw/doc/Makefile b/ucw/doc/Makefile index e7a2ca3a..d5420930 100644 --- a/ucw/doc/Makefile +++ b/ucw/doc/Makefile @@ -7,7 +7,8 @@ UCW_INDEX=$(o)/ucw/doc/def_index.html UCW_DOCS_HTML=$(addprefix $(o)/ucw/doc/,$(addsuffix .html,$(UCW_DOCS))) UCW_MANPAGES=ucw-tableprinter -MANPAGES+=$(addprefix $(o)/ucw/doc/,$(addsuffix .1,$(UCW_MANPAGES))) +UCW_MANPAGES_NROFF=$(addprefix $(o)/ucw/doc/,$(addsuffix .1,$(UCW_MANPAGES))) +MANPAGES+=$(UCW_MANPAGES_NROFF) $(UCW_INDEX): DOC_HEAD=$(s)/ucw/doc/def_index.txt $(UCW_INDEX): DOC_LIST=$(patsubst %,$(o)/ucw/doc/%.deflist,$(UCW_DOCS)) @@ -22,8 +23,8 @@ INSTALL_TARGETS+=install-libucw-docs endif .PHONY: install-libucw-docs -install-libucw-docs: $(UCW_INDEX) $(UCW_DOCS_HTML) $(MANPAGES) +install-libucw-docs: $(UCW_INDEX) $(UCW_DOCS_HTML) $(UCW_MANPAGES_NROFF) install -d -m 755 $(DESTDIR)$(INSTALL_DOC_DIR)/ucw/ install -m 644 $^ $(DESTDIR)$(INSTALL_DOC_DIR)/ucw/ install -d -m 755 $(DESTDIR)$(INSTALL_MAN_DIR)/man1/ - install -m 644 $(UCW_MANPAGES) $(DESTDIR)$(INSTALL_MAN_DIR)/man1/ + install -m 644 $(UCW_MANPAGES_NROFF) $(DESTDIR)$(INSTALL_MAN_DIR)/man1/