summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/bondgraphs/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/bondgraphs/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/bondgraphs/Makefile')
-rw-r--r--macros/latex/contrib/bondgraphs/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/macros/latex/contrib/bondgraphs/Makefile b/macros/latex/contrib/bondgraphs/Makefile
new file mode 100644
index 0000000000..cfc4e59cbf
--- /dev/null
+++ b/macros/latex/contrib/bondgraphs/Makefile
@@ -0,0 +1,24 @@
+
+
+NAME=bondgraphs
+ARCHIVE_NAME=$(NAME).tar.gz
+ARCHIVE_CONTENTS=$(NAME).dtx Makefile README $(NAME).ins $(NAME).pdf
+
+all: sty pdf
+
+pdf: sty
+ pdflatex $(NAME).dtx > $(NAME).log
+ pdflatex $(NAME).dtx >> $(NAME).log
+ makeindex -s gglo.ist -o $(NAME).gls $(NAME).glo >> $(NAME).log
+ makeindex -s gind.ist -o $(NAME).ind $(NAME).idx >> $(NAME).log
+ pdflatex $(NAME).dtx >> $(NAME).log
+
+sty:
+ rm -f $(NAME).sty
+ tex $(NAME).ins > $(NAME).log
+
+archive:
+ @ tar -czf $(ARCHIVE_NAME) $(ARCHIVE_CONTENTS)
+
+clean:
+ rm -f $(NAME).{log,idx,ilg,ind,aux,blg,bbl,out,gls,glo,fdb_latexmk,synctex.gz,fls,sty,hd,pdf}