The <bsd.obj.mk> makefile include already pulls in <bsd.subdir.mk>,
so including the later again causes spurious warnings about targets
being redefined, like:
"/usr/share/mk/bsd.subdir.mk", line 57: warning: duplicate script for target "_SUBDIR" ignored
"/usr/share/mk/bsd.subdir.mk", line 66: warning: duplicate script for target "en" ignored
"/usr/share/mk/bsd.subdir.mk", line 84: warning: duplicate script for target "files" ignored
"/usr/share/mk/bsd.subdir.mk", line 84: warning: duplicate script for target "includes" ignored
Removing the extra <bsd.subdir.mk> include fixes this.
o Symbolic links for web.mk in each translations are removed.
o So building procedure is:
- cd /usr/www; make obj (optional)
- cd /usr/www/en; make all
Submitted by: nbm
Modified by: kuriyama
obj-clean.
This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.
Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.
Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.
Add -D ${.CURDIR} to sgmlformat to follow includes properly.