Skip to content

Commit 12cf196

Browse files
committed
rename SLIDE/NOTE
1 parent eaf2d99 commit 12cf196

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
LATEX= pdflatex
1616
M4= m4
1717

18-
SLIDE= unix-linux-prog-in-c_slides-only.tex
19-
NOTE= unix-linux-prog-in-c.tex
18+
SLIDE_TEX= unix-linux-prog-in-c_slides-only.tex
19+
NOTE_TEX= unix-linux-prog-in-c.tex
2020

21-
SLIDE_PDF= $(SLIDE:tex=pdf)
22-
NOTE_PDF= $(NOTE:tex=pdf)
21+
SLIDE_PDF= $(SLIDE_TEX:tex=pdf)
22+
NOTE_PDF= $(NOTE_TEX:tex=pdf)
2323
SLIDE_NEW= $(SLIDE_PDF:pdf=pdf.new)
2424
NOTE_NEW= $(NOTE_PDF:pdf=pdf.new)
2525

@@ -38,8 +38,8 @@ TEX_FILES= common.tex \
3838
history.tex \
3939
appendix.tex
4040

41-
SLIDES= $(TEX_FILES) $(SLIDE)
42-
NOTES= $(TEX_FILES) $(NOTE)
41+
SLIDES= $(TEX_FILES) $(SLIDE_TEX)
42+
NOTES= $(TEX_FILES) $(NOTE_TEX)
4343

4444
all: slides notes spellcheck
4545

@@ -48,16 +48,16 @@ slides: $(SLIDES)
4848
new=`echo $$i | sed -e 's/.tex/.m4.tex/g'`; \
4949
$(M4) -D NOSPELLCHECK $$i > $$new; \
5050
done
51-
$(LATEX) $(SLIDE:tex=m4.tex)
52-
mv $(SLIDE:tex=m4.pdf) $(SLIDE_PDF)
51+
$(LATEX) $(SLIDE_TEX:tex=m4.tex)
52+
mv $(SLIDE_TEX:tex=m4.pdf) $(SLIDE_PDF)
5353

5454
notes: $(NOTES)
5555
@for i in ${NOTES}; do \
5656
new=`echo $$i | sed -e 's/.tex/.m4.tex/g'`; \
5757
$(M4) -D NOSPELLCHECK $$i > $$new; \
5858
done
59-
$(LATEX) $(NOTE:tex=m4.tex)
60-
mv $(NOTE:tex=m4.pdf) $(NOTE_PDF)
59+
$(LATEX) $(NOTE_TEX:tex=m4.tex)
60+
mv $(NOTE_TEX:tex=m4.pdf) $(NOTE_PDF)
6161

6262
clean:
6363
-rm -f *.log *.aux *.m4.tex *.pdf *.m4.tmp *.out

0 commit comments

Comments
 (0)