summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pdftricks/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdftricks/makefile')
-rw-r--r--Master/texmf-dist/doc/latex/pdftricks/makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdftricks/makefile b/Master/texmf-dist/doc/latex/pdftricks/makefile
new file mode 100644
index 00000000000..b9fd6d57f94
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pdftricks/makefile
@@ -0,0 +1,35 @@
+##
+## Makefile to install pdftricks.sty
+##
+## CV Radhakrishnan <cvr@river-valley.org>
+##
+##
+BINDIR = /usr/bin
+MKDIR=mkdir
+COPY=cp
+CHDIR=cd
+ECHO=echo
+ZIP=zip -9
+INSTALLDIRVAR=TEXMFMAIN
+
+all: pdftricks binaries test
+
+pdftricks:
+ ( \
+ TEXMF=`kpsewhich -expand-var '$$$(INSTALLDIRVAR)'`; \
+ echo installing to $${TEXMF}/tex/latex/pdftricks; \
+ $(MKDIR) $${TEXMF}/tex/latex/pdftricks; \
+ $(COPY) *.sty manual.pdf $${TEXMF}/tex/latex/pdftricks \
+ )
+
+binaries:
+ $(COPY) pst2pdf $(BINDIR)
+
+test:
+ texhash ;
+ pdflatex test ;
+ pdflatex test ;
+ acroread example.pdf
+
+clean:
+ rm -f ./*