Lines Matching refs:MANPAGE_DIR
62 MANPAGE_DIR=sun-manpages
1097 @rm -rf $(MANPAGE_DIR)/*
1098 @test -d $(MANPAGE_DIR) || mkdir -p "$(MANPAGE_DIR)"
1105 cp $$manpage $(MANPAGE_DIR); \
1107 $(SGML2ROFF) $$manpage > $(MANPAGE_DIR)/$$base_manpage; \
1114 }' >> $(MANPAGE_DIR)/$$base_manpage; \
1116 echo $$base_manpage >> $(MANPAGE_DIR)/$$suffix; \
1118 @cp Makefile.template $(MANPAGE_DIR)/Makefile
1119 @if test -f $(MANPAGE_DIR)/ent; then \
1120 mv $(MANPAGE_DIR)/ent $(MANPAGE_DIR)/entities; \
1123 if test -f $(MANPAGE_DIR)/$$mantype; then \
1124 echo "MAN"$$mantype"PAGES = \\" >> $(MANPAGE_DIR)/Makefile; \
1132 }' $(MANPAGE_DIR)/$$mantype >> $(MANPAGE_DIR)/Makefile; \
1133 echo "" >> $(MANPAGE_DIR)/Makefile; \
1136 @echo "install:" >> $(MANPAGE_DIR)/Makefile
1138 if test -f $(MANPAGE_DIR)/$$mantype; then \
1139 echo " install -d \$$(DESTDIR)\$$(MAN"$$mantype"DIR)" >> $(MANPAGE_DIR)/Makefile; \
1140 echo " for mp in \$$(MAN"$$mantype"PAGES); do \\" >> $(MANPAGE_DIR)/Makefile; \
1141 echo " install --mode=0644 \$$\$$mp \$$(DESTDIR)\$$(MAN"$$mantype"DIR); \\" >> $(MANPAGE_DIR)/Makefile; \
1142 echo " done" >> $(MANPAGE_DIR)/Makefile; \
1143 rm -f $(MANPAGE_DIR)/$$mantype; \
1147 $(TAR) -cf $(TARBALL_DIR)/$$tarball $(MANPAGE_DIR); \
1149 @rm -rf $(MANPAGE_DIR)
1187 rm -rf $(MANPAGE_DIR)