patch-2.4.14 linux/Documentation/DocBook/Makefile
Next file: linux/Documentation/DocBook/parportbook.tmpl
Previous file: linux/Documentation/Configure.help
Back to the patch index
Back to the overall index
- Lines: 49
- Date:
Fri Nov 2 17:13:53 2001
- Orig file:
v2.4.13/linux/Documentation/DocBook/Makefile
- Orig date:
Tue Oct 9 17:06:51 2001
diff -u --recursive --new-file v2.4.13/linux/Documentation/DocBook/Makefile linux/Documentation/DocBook/Makefile
@@ -8,7 +8,7 @@
HTML := $(patsubst %.sgml, %, $(BOOKS))
IMG-parportbook := parport-share.fig parport-multi.fig parport-structure.fig
EPS-parportbook := $(patsubst %.fig, %.eps, $(IMG-parportbook))
-JPG-parportbook := $(patsubst %.fig, %.jpeg, $(IMG-parportbook))
+PNG-parportbook := $(patsubst %.fig, %.png, $(IMG-parportbook))
C-procfs-example = procfs_example.sgml
books: $(BOOKS)
@@ -26,8 +26,8 @@
%.eps: %.fig
fig2dev -Leps $< $@
-%.jpeg: %.fig
- fig2dev -Ljpeg $< $@
+%.png: %.fig
+ fig2dev -Lpng $< $@
%.sgml: %.c
echo "<programlisting>" > $@
@@ -129,8 +129,8 @@
$(TOPDIR)/scripts/kernel-doc -man $^ | \
$(PERL) $(TOPDIR)/scripts/split-man $(TOPDIR)/Documentation/man
-parportbook: $(JPG-parportbook)
-parportbook.ps parportbook.pdf: $(EPS-parportbook)
+parportbook parportbook.pdf: $(PNG-parportbook)
+parportbook.ps: $(EPS-parportbook)
parportbook.sgml: parportbook.tmpl $(TOPDIR)/drivers/parport/init.c
$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/parport/init.c <$< >$@
@@ -144,7 +144,7 @@
rm -f core *~
rm -f $(BOOKS)
rm -f $(DVI) $(AUX) $(TEX) $(LOG) $(OUT)
- rm -f $(JPG-parportbook) $(EPS-parportbook)
+ rm -f $(PNG-parportbook) $(EPS-parportbook)
rm -f $(C-procfs-example)
mrproper: clean
@@ -172,7 +172,7 @@
exit 1)
rm -rf $@
db2html $<
- if [ ! -z "$(JPG-$@)" ]; then cp $(JPG-$@) $@; fi
+ if [ ! -z "$(PNG-$@)" ]; then cp $(PNG-$@) $@; fi
#
# we could have our own dependency generator
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)