WTF? make is freaking me out
Ceri Davies
ceri at submonkey.net
Wed Sep 28 11:25:12 UTC 2005
Notwithstanding whether the patches do the correct thing or not, could
someone please explain to me why formats1.diff works fine, whilst
formats2.diff produces:
line 191: Malformed conditional (html-split == "all")
line 147: if-less endif
make: fatal errors encountered -- cannot continue
Please?
--
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former. -- Einstein (attrib.)
-------------- next part --------------
Index: doc.docbook.mk
===================================================================
RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.121
diff -u -r1.121 doc.docbook.mk
--- doc.docbook.mk 23 Sep 2005 19:38:22 -0000 1.121
+++ doc.docbook.mk 28 Sep 2005 11:21:41 -0000
@@ -187,6 +187,13 @@
KNOWN_FORMATS= html html.tar html-split html-split.tar \
txt rtf rtf.tar ps pdf tex dvi tar pdb
+.for _curformat in ${FORMATS}
+_cf=${_curformat}
+.if ${_cf:L} == "all"
+FORMATS= ${KNOWN_FORMATS}
+.endif
+.endfor
+
CSS_SHEET?= ${DOC_PREFIX}/share/misc/docbook.css
PDFTEX_DEF?= ${DOC_PREFIX}/share/web2c/pdftex.def
-------------- next part --------------
Index: doc.docbook.mk
===================================================================
RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.121
diff -u -r1.121 doc.docbook.mk
--- doc.docbook.mk 23 Sep 2005 19:38:22 -0000 1.121
+++ doc.docbook.mk 28 Sep 2005 11:22:21 -0000
@@ -187,6 +187,12 @@
KNOWN_FORMATS= html html.tar html-split html-split.tar \
txt rtf rtf.tar ps pdf tex dvi tar pdb
+.for _curformat in ${FORMATS}
+.if ${_curformat:L} == "all"
+FORMATS= ${KNOWN_FORMATS}
+.endif
+.endfor
+
CSS_SHEET?= ${DOC_PREFIX}/share/misc/docbook.css
PDFTEX_DEF?= ${DOC_PREFIX}/share/web2c/pdftex.def
-------------- 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-doc/attachments/20050928/adff7311/attachment.sig>
More information about the freebsd-doc
mailing list