tiny toplevel www/Makefile nit
Giorgos Keramidas
keramida at FreeBSD.org
Sun Sep 2 14:52:08 PDT 2007
Our toplevel www/Makefile includes both the standard <bsd.obj.mk> and
the <bsd.subdir.mk> makefile includes, but seems a bit wrong.
Tracing the .include directives in the files under /usr/share/mk I see
that <bsd.obj.mk> already includes <bsd.subdir.mk> and this results in
the following warnings:
Script started on Sun Sep 2 06:04:24 2007
keramida at kobe:/home/keramida/hg/www/gker$ make WEB_ONLY=yes ENGLISH_ONLY=yes WITHOUT_DOC=yes
"/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
===> en (all)
install /home/keramida/hg/www/gker/en/../share/sgml/catalog-cwd.xml /home/keramida/hg/www/gker/en/catalog-cwd.xml
echo '<!ENTITY base "">' > /home/keramida/hg/www/gker/en/autogen.ent
[...]
Simply removing <bsd.subdir.mk> from our toplevel www/Makefile appears
to have fixed this for me:
%%%
diff -r cea5df156013 Makefile
--- a/Makefile Fri Aug 31 03:15:57 2007 +0000
+++ b/Makefile Sun Sep 02 06:09:15 2007 +0300
@@ -7,4 +7,3 @@ links:
links:
.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
%%%
Does anyone know why we are pulling in <bsd.subdir.mk> twice?
If there isn't a good reason to keep both includes, I'd like to remove
<bsd.subdir.mk> to fix the warnings.
- Giorgos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-www/attachments/20070902/15a4c1c5/attachment.pgp
More information about the freebsd-www
mailing list