Fixed makefile wildcards
This commit is contained in:
10
Makefile
10
Makefile
@@ -9,13 +9,15 @@ PDFS=$(patsubst %.tex,%.pdf,$(SOURCES))
|
|||||||
all: ${PDFS} README.md
|
all: ${PDFS} README.md
|
||||||
|
|
||||||
|
|
||||||
%.pdf: %.tex $(wildcard %-*.tex) dec.cls decsectional.cls
|
|
||||||
pdflatex ${basename $@ .pdf} < /dev/null
|
|
||||||
pdflatex ${basename $@ .pdf} < /dev/null
|
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
ls *.tex *.cls | entr -c -s 'make'
|
ls *.tex *.cls | entr -c -s 'make'
|
||||||
|
|
||||||
|
|
||||||
README.md: README.tex
|
README.md: README.tex
|
||||||
pandoc -s README.tex -o README.md
|
pandoc -s README.tex -o README.md
|
||||||
|
|
||||||
|
.SECONDEXPANSION:
|
||||||
|
%.pdf: %.tex $$(wildcard %-*.tex) dec.cls decsectional.cls
|
||||||
|
pdflatex ${basename $@ .pdf} < /dev/null
|
||||||
|
pdflatex ${basename $@ .pdf} < /dev/null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user