patch-2.3.99-pre6 linux/Documentation/DocBook/Makefile
Next file: linux/Documentation/arm/Setup
Previous file: linux/Documentation/DMA-mapping.txt
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Thu Apr 13 09:25:44 2000
- Orig file:
v2.3.99-pre5/linux/Documentation/DocBook/Makefile
- Orig date:
Tue Apr 11 15:09:11 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/Documentation/DocBook/Makefile linux/Documentation/DocBook/Makefile
@@ -3,13 +3,22 @@
PS := $(patsubst %.sgml, %.ps, $(BOOKS))
PDF := $(patsubst %.sgml, %.pdf, $(BOOKS))
-books: docproc $(BOOKS)
+$(BOOKS): $(TOPDIR)/scripts/docproc
+
+.PHONY: books ps pdf clean mrproper db2ps db2pdf
+
+books: $(BOOKS)
ps: $(PS)
pdf: $(PDF)
-docproc:
+db2ps db2pdf:
+ @(which $@ > /dev/null 2>&1) || \
+ (echo "*** You need to install DocBook stylesheets ***"; \
+ exit 1)
+
+$(TOPDIR)/scripts/docproc:
$(MAKE) -C $(TOPDIR)/scripts docproc
wanbook.sgml: wanbook.tmpl
@@ -64,7 +73,7 @@
mrproper: clean
$(RM) $(PS) $(PDF)
-%.ps : %.sgml
+%.ps : %.sgml db2ps
db2ps $<
%.pdf : %.sgml
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)