Index: trunk/src/Makefile.in =================================================================== --- trunk/src/Makefile.in (revision 804) +++ trunk/src/Makefile.in (revision 805) @@ -103,7 +103,13 @@ put /local/pcb/EXEDEPS {} put /local/pcb/all {} put /local/pcb/buildin_init {} +put /local/pcb/rules/install_ {} +put /local/pcb/rules/install {} +put /local/pcb/rules/linstall {} +put /local/pcb/rules/uninstall {} + + include {Makefile.in.mod/gtk-gdk} include {Makefile.in.mod/lesstif} include {Makefile.in.mod/toporouter} @@ -270,21 +276,21 @@ $(CPC) `pwd`/default.pcb $(DATADIR)/default.pcb $(CPC) `pwd`/default_font $(DATADIR)/default_font $(CPC) `pwd`/gpcb-menu.res $(DATADIR)/gpcb-menu.res - $(CPC) `pwd`/pcb-menu.res $(DATADIR)/pcb-menu.res + $(CPC) `pwd`/pcb-menu.res $(DATADIR)/pcb-menu.res@/local/pcb/rules/install_@ install: - make install_ CPC="$(CP)" + make install_ CPC="$(CP)"@/local/pcb/rules/install@ linstall: - make install_ CPC="$(LN)" + make install_ CPC="$(LN)"@/local/pcb/rules/linstall@ + uninstall: $(RM) $(BINDIR)/pcb-rnd $(RM) $(DATADIR)/default.pcb $(RM) $(DATADIR)/default_font $(RM) $(DATADIR)/gpcb-menu.res - $(RM) $(DATADIR)/pcb-menu.res - + $(RM) $(DATADIR)/pcb-menu.res@/local/pcb/rules/uninstall@ @] # generate explicit rules for .c -> .o Index: trunk/src/Makefile.in.mod/gpmi_plugin =================================================================== --- trunk/src/Makefile.in.mod/gpmi_plugin (revision 804) +++ trunk/src/Makefile.in.mod/gpmi_plugin (revision 805) @@ -7,6 +7,12 @@ @] +append /local/pcb/rules/install { cd pcb-gpmi && make install} { +} +append /local/pcb/rules/linstall { cd pcb-gpmi && make linstall} { +} +append /local/pcb/rules/uninstall { cd pcb-gpmi && make uninstall} { +} if /local/pcb/gpmi/buildin then