summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/combinedgraphics/Makefile
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:45:13 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:45:13 +0000
commit385daa279ac68fc0277e25586e8745366abfb796 (patch)
tree11f8483935e9f10b32f766498a180510c1ff647e /Master/texmf-dist/doc/latex/combinedgraphics/Makefile
parentca8a3b699546b5989ac38dc20c506fd09506da0c (diff)
combinedgrphics update
git-svn-id: svn://tug.org/texlive/trunk@23356 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/combinedgraphics/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/combinedgraphics/Makefile79
1 files changed, 79 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/combinedgraphics/Makefile b/Master/texmf-dist/doc/latex/combinedgraphics/Makefile
new file mode 100644
index 00000000000..4c2c3299887
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/combinedgraphics/Makefile
@@ -0,0 +1,79 @@
+#
+# Makefile for combinedgraphics package
+#
+# Copyright 2009,2011 Christian Schneider <software(at)chschneider(dot)eu>
+#
+# This file is part of combinedgraphics.
+#
+# combinedgraphics is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation, not any later version.
+#
+# combinedgraphics is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with combinedgraphics. If not, see <http://www.gnu.org/licenses/>.
+#
+# WARNING: THIS IS ALPHA SOFTWARE AND MAY CONTAIN SERIOUS BUGS!
+#
+
+export PACKAGE := combinedgraphics
+
+PDFLATEX := pdflatex
+MAKEINDEX := makeindex
+
+# installation directories
+DESTDIR := $(HOME)/.texmf
+DOCDIR := $(DESTDIR)/doc/latex/$(PACKAGE)
+SRCDIR := $(DESTDIR)/source/latex/$(PACKAGE)
+TEXDIR := $(DESTDIR)/tex/latex/$(PACKAGE)
+
+.PHONY: all pkg doc test install clean distclean force
+
+all: pkg doc test
+
+%.sty: %.ins %.dtx
+ $(RM) $@
+ $(PDFLATEX) -interaction=nonstopmode $<
+
+%.idx %.glo: %.dtx %.sty
+ $(PDFLATEX) -interaction=nonstopmode $<
+
+%.ind: %.idx
+ $(MAKEINDEX) -s gind.ist -o $@ $<
+
+%.gls: %.glo
+ $(MAKEINDEX) -s gglo.ist -o $@ $<
+
+$(PACKAGE).pdf: %.pdf: %.dtx %.sty %.ind %.gls
+ $(PDFLATEX) -interaction=nonstopmode $<
+ $(PDFLATEX) -interaction=nonstopmode $<
+ $(PDFLATEX) -interaction=nonstopmode $<
+
+pkg: $(PACKAGE).sty
+
+doc: $(PACKAGE).pdf
+
+test: $(PACKAGE).sty force
+ $(MAKE) -C test
+
+install: force
+ mkdir -p $(DOCDIR) $(SRCDIR) $(TEXDIR)
+ install -m 644 README COPYING $(PACKAGE).pdf $(DOCDIR)
+ install -m 644 $(PACKAGE).ins $(PACKAGE).dtx Makefile $(SRCDIR)
+ install -m 644 $(PACKAGE).sty $(TEXDIR)
+ $(MAKE) -C test install
+ mktexlsr $(DESTDIR)
+
+clean: force
+ $(RM) *.aux *.glo *.gls *.idx *.ilg *.ind *.log *.toc *~
+ $(MAKE) -C test clean
+
+distclean: clean force
+ $(RM) $(PACKAGE).sty $(PACKAGE).pdf $(TESTFILE).pdf
+ $(MAKE) -C test distclean
+
+force: ;