a7fe2d7916
build, install) are now all skeletons and do nothing but (1) Call pre-* target (if exists) (2) Call scripts/pre-* script (if exists) (3) Call do-* target (4) Call post-* target (if exists) (5) Call scripts/post-* script (if exists) The do-* targets do all the work. The pre-* and post-* targets/scripts don't exist by default. The main targets check for the cookies too, so porters shouldn't have to worry about them at all. NOTE: THE MAIN TARGETS IN THE PORTS MAKEFILES SHOULD GO AWAY. We need to fix this before wcarchive comes back up. Change the names to do-*, rip out the cookies, rip out the calls to pre-* etc. and most of them should work. Also, reorganize the whole thing so that similar targets are together and add more comments. Surround section header with 64 #'s (C-u C-u C-u # in emacs :). Hopefully this will be the last major change to bsd.port.mk. Now let the Makefile-hacking begin. |
||
---|---|---|
.. | ||
bsd.dep.mk | ||
bsd.doc.mk | ||
bsd.info.mk | ||
bsd.kmod.mk | ||
bsd.lib.mk | ||
bsd.man.mk | ||
bsd.own.mk | ||
bsd.port.mk | ||
bsd.port.subdir.mk | ||
bsd.prog.mk | ||
bsd.README | ||
bsd.subdir.mk | ||
Makefile | ||
sys.mk |