> make[1]: Entering directory `/root/eagleusb/doc'
> xsltproc --nonet -o man/eaglediag.8 no sources/eaglediag.xml
I hope you got messages in configure telling you can't build doc?
Anyway I propose this patch for doc/Makefile, such that instead of
dying it echoes something like:
Cannot build doc (sources/eagleconfig.xml -> man/eagleconfig.8)
Pat
Index: Makefile
===================================================================
RCS file: /cvs/eagleusb/eagleusb/doc/Makefile,v
retrieving revision 1.8
diff -u -3 -p -u -r1.8 Makefile
--- Makefile 17 Nov 2004 21:01:56 -0000 1.8
+++ Makefile 25 Nov 2004 17:48:00 -0000
@@ -12,25 +12,32 @@ HTML_PAGES := $(addprefix html/, ${SOURC
#HTML_PAGES :=
#endif # GEN_DOC = yes
-.PHONY: all
all: man
-
-.PHONY: man
man: ${MAN_PAGES}
+html: ${HTML_PAGES}
+
${MAN_PAGES}: man/%.8: sources/%.xml
+ifeq (${GEN_DOC}, yes)
xsltproc --nonet -o $@ ${MAN_STYLESHEET} $<
+else
+ @echo "Cannot build doc ($< -> $@)"
+endif # GEN_DOC = yes
-.PHONY: html
-html: ${HTML_PAGES}
${HTML_PAGES}: html/%.html: sources/%.xml
+ifeq (${GEN_DOC}, yes)
xsltproc --nonet -o $@ ${HTML_STYLESHEET} $<
+else
+ @echo "Cannot build doc ($< -> $@)"
+endif # GEN_DOC = yes
-.PHONY: install
install: man
if [ -n "${MAN_PAGES}" ]; then \
$(INSTALL) -d ${MANDIR}/man8; \
cp ${MAN_PAGES} ${MANDIR}/man8; \
fi
+
+
+.PHONY: all install html man
.PHONY: uninstall
uninstall: