]> mj.ucw.cz Git - libucw.git/commitdiff
ucw/doc/Makefile: Do not mix UCW_MANPAGES with MANPAGES
authorMartin Mares <mj@ucw.cz>
Fri, 8 Aug 2014 22:52:32 +0000 (00:52 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 8 Aug 2014 22:52:32 +0000 (00:52 +0200)
ucw/doc/Makefile

index e7a2ca3a2185d859864878d650adabbd11e22209..d54209300e152246b0b2579e017d50772f55e4c3 100644 (file)
@@ -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/