Use dia to generate png images out of dia files
(This used to be commit a46ab88b44
)
@ -12,6 +12,7 @@ DVIPS = @DVIPS@
|
||||
PNGTOPNM = @PNGTOPNM@
|
||||
EPSTOPNM = @EPSTOPNM@
|
||||
PNMTOPNG = @PNMTOPNG@
|
||||
DIA = @DIA@
|
||||
PNMTOPS = @PNMTOPS@
|
||||
HTML2TEXT = @HTML2TEXT@
|
||||
PLUCKERBUILD = @PLUCKERBUILD@
|
||||
@ -166,6 +167,7 @@ $(PDFDIR)/%.pdf: %.pdf
|
||||
|
||||
# Adobe PDF files
|
||||
%.pdf: %.tex %.ind latexfigures
|
||||
$(MAKE) $(shell $(XSLTPROC) --stringparam prepend "" --stringparam append ".png" --stringparam role latex xslt/find-image-dependencies.xsl $(DOCBOOKDIR)/$*.xml)
|
||||
-$(PDFLATEX) $<
|
||||
$(THUMBPDF) $*.pdf
|
||||
-$(PDFLATEX) $<
|
||||
@ -178,9 +180,9 @@ $(DVIDIR)/%.dvi: %.dvi
|
||||
%.dvi: %.tex %.idx
|
||||
$(MAKE) $(shell $(XSLTPROC) --stringparam prepend "" --stringparam append ".eps" --stringparam role latex xslt/find-image-dependencies.xsl $(DOCBOOKDIR)/$*.xml)
|
||||
-$(LATEX) $<
|
||||
-$(LATEX) $<
|
||||
$(MAKEINDEX) $*.idx
|
||||
-$(LATEX) $<
|
||||
|
||||
%.png: %.dia
|
||||
$(DIA) -e $@ $<
|
||||
|
||||
%.eps: %.png
|
||||
$(PNGTOPNM) $< | $(PNMTOPS) > $@
|
||||
|
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 12 KiB |
@ -40,6 +40,7 @@ AC_SUBST(SAMBASOURCEDIR)
|
||||
|
||||
DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL)
|
||||
DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL)
|
||||
DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, ALL)
|
||||
DOCS_TARGET_REQUIRE_PROGRAM(MAKEINDEX, makeindex, LATEX)
|
||||
DOCS_TARGET_REQUIRE_PROGRAM(PDFLATEX, pdflatex, PDF)
|
||||
DOCS_TARGET_REQUIRE_PROGRAM(EPSTOPDF, epstopdf, PDF)
|
||||
|
@ -6,6 +6,7 @@ TO="$4"
|
||||
|
||||
for x in `xsltproc --stringparam prepend "" --stringparam append "" --stringparam role "$ROLE" xslt/find-image-dependencies.xsl "$XMLFILE"`
|
||||
do
|
||||
test -f $FROM/$x || make $FROM/$x || exit 1
|
||||
cp -u $FROM/$x $TO/$x || exit 1
|
||||
done
|
||||
exit
|
||||
|