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 /support/crossrefware/Makefile |
Initial commit
Diffstat (limited to 'support/crossrefware/Makefile')
-rw-r--r-- | support/crossrefware/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/support/crossrefware/Makefile b/support/crossrefware/Makefile new file mode 100644 index 0000000000..8181d382e3 --- /dev/null +++ b/support/crossrefware/Makefile @@ -0,0 +1,45 @@ +SCRIPTS = \ + ltx2crossrefxml.pl \ + bibdoiadd.pl \ + bibzbladd.pl \ + bibmradd.pl \ + biburl2doi.pl \ + bbl2bib.pl + +PACKAGE = crossrefware + +MAN1 = ${SCRIPTS:%.pl=%.1} + +PDF = crossrefware.pdf + +all: ${MAN1} ${PDF} + chmod a+x ${SCRIPTS} + + + +%.1: %.pl + pod2man -c "CROSSREF LIBRARY" -n $* -s 1 -r "" $< > $@ + + + + +clean: + $(RM) *.aux *.toc *.log *.tex *.idx *.ilg *.ind *.out *.zip *.tgz \ + *~ + +distclean: clean + $(RM) *.pdf *.1 *.3 + + +%.pdf: %.tex + pdflatex $* + makeindex $* + pdflatex $* + +crossrefware.tex: head.ltx + +crossrefware.tex: ${SCRIPTS} + pod2latex -modify -full -prefile head.ltx -out $@ $+ + +archive: all clean + COPYFILE_DISABLE=1 tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS --exclude '.git*' $(PACKAGE); mv ../$(PACKAGE).tgz . |