summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/png/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/doc/png/Makefile.in')
-rw-r--r--Build/source/utils/asymptote/doc/png/Makefile.in57
1 files changed, 57 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/doc/png/Makefile.in b/Build/source/utils/asymptote/doc/png/Makefile.in
new file mode 100644
index 00000000000..fc36836b010
--- /dev/null
+++ b/Build/source/utils/asymptote/doc/png/Makefile.in
@@ -0,0 +1,57 @@
+ASYFILES = $(notdir $(filter-out $(wildcard ../latexusage-*.asy),$(wildcard ../*.asy)))
+
+SOURCE = ../asymptote.texi ../version.texi ../options
+ASY = ../asy -dir ../base -config "" -render=0
+
+docdir = $(DESTDIR)@docdir@
+infodir = $(DESTDIR)@infodir@
+datarootdir = @datarootdir@
+INSTALL = @INSTALL@
+
+all: html info
+
+%.png: ../%.asy
+ cd .. && $(ASY) -f png -o png/ $(notdir $<)
+
+latexusage.png: ../latexusage.pdf
+ gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -dEPSCrop -dSAFER -r72x72 \
+ -sOutputFile=latexusage.png ../latexusage.pdf
+
+index.html: $(SOURCE) $(ASYFILES:.asy=.png) latexusage.png
+ makeinfo --html ../asymptote -o .
+
+asymptote.info: $(SOURCE)
+ makeinfo --no-warn --no-split ../asymptote
+
+info: $(SOURCE) $(ASYFILES:.asy=.png) latexusage.png
+ makeinfo --no-split ../asymptote
+
+../options:
+ cd .. && $(MAKE) options
+
+html: index.html
+
+clean: FORCE
+ -rm -f *.png *.html asymptote.info* texput.aux texput.log
+
+distclean: FORCE clean
+ -rm -f Makefile
+
+install: asymptote.info
+ ${INSTALL} -d -m 755 $(infodir)/asymptote
+ ${INSTALL} -p -m 644 asymptote.info $(infodir)/asymptote
+ -if test -z "$(DESTDIR)"; then \
+ install-info --infodir=$(infodir) asymptote.info; \
+ fi
+
+install-all: all install
+ ${INSTALL} -p -m 644 *.png $(infodir)/asymptote
+
+uninstall:
+ -install-info --remove --infodir=$(infodir) asymptote.info
+ -cd $(infodir)/asymptote && rm -f asymptote.info *.png
+ -rmdir $(infodir)/asymptote
+FORCE:
+
+Makefile: Makefile.in
+ cd ../..; config.status