diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2023-05-30 12:01:36 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2023-05-30 12:01:36 +0200 |
commit | 2fe897e9294afb41f26a2a4b4191a67e44a7689c (patch) | |
tree | c1d45a2502b88f461fbeeb06c270e37ced4b7227 /Makefile | |
parent | 73e635503e01e62aad673dd00f9eb5e915b61075 (diff) |
Setup. Complete Makefile for PDF
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,13 +8,13 @@ DTX = $(addsuffix .dtx, $(PACKAGE)) INS = $(addsuffix .ins, $(PACKAGE)) PDF = $(addsuffix .pdf, $(PACKAGE)) -all: $(DTX) $(INS) +all: $(DTX) $(INS) $(PDF) # Generate package using makedtx and pdflatex $(DTX): %.dtx: tex/%.sty doc/%.tex makedtx -author "$(AUTHOR)" -license $(LICENSE) \ - -dir $(dir $<) -src "$*\.sty=>$*.sty" -doc doc/$*.tex $* + -dir $(dir $<) -src "(.*)\.sty=>\1.sty" -doc doc/$*.tex $* $(INS): %.ins: %.dtx @@ -51,5 +51,5 @@ uninstall: clean: make -C test clean - rm -f *.dtx *.ins - rm -f *.~ + rm -f *.dtx *.ins *.pdf + rm -f *~ tex/*~ doc/*~ |