Skip to content

Commit 1115389

Browse files
committed
Add building short.bib rule
1 parent 7e6bbc3 commit 1115389

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bectex.mk

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@
77
BIBS = $(wildcard *.orig.bib)
88
SRCS = $(wildcard *.tex) $(wildcard *.sty) $(BIBS:%.orig.bib=%.short.bib)
99

10-
.PHONY: html pdf all cleandeps clean cleanall
10+
SHORT_BIBS = $(BIBS:%.orig.bib=%.short.bib)
11+
12+
.PHONY: bib html pdf all cleandeps clean cleanall
1113

1214
all: pdf
1315
pdf: ${PAPERS:%=%.pdf}
1416
html: ${PAPERS:%=%/index.html}
17+
bib: ${SHORT_BIBS}
1518

1619
${PAPERS:%=%.pdf}: ${SRCS}
1720

1821
cleandeps:
19-
rm -f $(BIBS:%.orig.bib=%.short.bib)
22+
rm -f ${SHORT_BIBS}
2023
clean: cleandeps
2124
latexmk -c
2225
cleanall: cleandeps

0 commit comments

Comments
 (0)