From 2fe897e9294afb41f26a2a4b4191a67e44a7689c Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Tue, 30 May 2023 12:01:36 +0200 Subject: Setup. Complete Makefile for PDF --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4564ec2..5ef668d 100644 --- a/Makefile +++ b/Makefile @@ -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/*~ -- cgit v1.2.3