diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pdftricks/makefile |
Initial commit
Diffstat (limited to 'graphics/pdftricks/makefile')
-rw-r--r-- | graphics/pdftricks/makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/graphics/pdftricks/makefile b/graphics/pdftricks/makefile new file mode 100644 index 0000000000..b9fd6d57f9 --- /dev/null +++ b/graphics/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 ./* |