Index: trunk/Makefile =================================================================== --- trunk/Makefile (revision 4301) +++ trunk/Makefile (revision 4302) @@ -2,14 +2,17 @@ cd src && make cd util && make cd pcblib && make + cd doc-rnd && make clean: FORCE cd src && make clean cd util && make clean cd pcblib && make clean + cd doc-rnd && make clean distclean: FORCE make clean ; true + cd doc-rnd && make distclean cd scconfig && make clean ; true cd src_3rd/genlist && make clean ; true cd src_3rd/genregex && make clean ; true @@ -23,16 +26,19 @@ cd src && make install cd util && make install cd pcblib && make install + cd doc-rnd && make install linstall: FORCE cd src && make linstall cd util && make linstall cd pcblib && make linstall + cd doc-rnd && make linstall uninstall: FORCE cd src && make uninstall cd util && make uninstall cd pcblib && make uninstall + cd doc-rnd && make uninstall deb: FORCE fakeroot debian/rules clean Index: trunk/doc-rnd/Makefile =================================================================== --- trunk/doc-rnd/Makefile (revision 4301) +++ trunk/doc-rnd/Makefile (revision 4302) @@ -11,3 +11,18 @@ keys_mkey.html: $(MENU_RES_MKEY) $(KEYLIST) $(KEYLIST) $(MENU_RES_MKEY) > keys_mkey.html + +install: + cd man && make install + +linstall: + cd man && make linstall + +uninstall: + cd man && make uninstall + +clean: + cd man && make clean + +distclean: + cd man && make distclean Index: trunk/doc-rnd/man/Makefile =================================================================== --- trunk/doc-rnd/man/Makefile (revision 4301) +++ trunk/doc-rnd/man/Makefile (revision 4302) @@ -1,3 +1,6 @@ +# This Makefile is a plain old hand written one; all configuration settings +# are included from ../../Makefile.conf which is scconfig generated + IN=pcb-rnd.1.mml OUT_HTML = pcb-rnd.1.html OUT_MAN1 = pcb-rnd.1 @@ -27,7 +30,25 @@ @echo "" >> $@ clean: + +distclean: rm $(OUTPUT) 2>/dev/null ; true .mml.lint: $(MML) -i copyright.mml -f lint $< + +install_: + $(MKDIR) "$(MAN1DIR)" + $(CPC) "`pwd`/pcb-rnd.1" "$(MAN1DIR)/pcb-rnd.1" + +uninstall: + $(RM) "$(MAN1DIR)/pcb-rnd.1" + +install: + make install_ CPC="$(CP)" + +linstall: + make install_ CPC="$(LN)" + +include ../../Makefile.conf +