aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2023-05-30 12:01:36 +0200
committerGustav Eek <gustav.eek@fripost.org>2023-05-30 12:01:36 +0200
commit2fe897e9294afb41f26a2a4b4191a67e44a7689c (patch)
treec1d45a2502b88f461fbeeb06c270e37ced4b7227 /Makefile
parent73e635503e01e62aad673dd00f9eb5e915b61075 (diff)
Setup. Complete Makefile for PDF
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files 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/*~