Skip to content

Commit 95ca56f

Browse files
committed
Rename book PDF
1 parent 75c10ba commit 95ca56f

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

09-Integrated-Development-Environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Name: `______________________________`
185185
Try changing to your linuxhome directory (i.e., `cd ~`).
186186
Otherwise you’ll be waiting *all day* for Code::Blocks to open up.
187187
- If Code::Blocks doesn't let you navigate to your cloned repository, you can find it by going the long way.
188-
You can find your SDRIVE by going to its absolute path: `/nethome/users/<username>/cs1001/lab09/` (or whatever you call your repository.)
188+
You can find your SDRIVE by going to its absolute path: `/nethome/users/<username>/cs1585/lab09/` (or whatever you call your repository.)
189189

190190
### Building with Code::Blocks
191191

Makefile

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,30 @@ MD_PIECES = 00-FrontMatter.md \
1717

1818
EXTENSIONS = raw_tex+fenced_code_attributes
1919

20+
TITLE = tools-for-computer-scientists
21+
2022
# Runs every time `make` is called;
2123
# check to see whether the index has become dirty!
2224
DIRTY := $(shell ./dirty.sh)
2325

2426
.PHONY: all tex dirty
2527

26-
all: cs1001_prelab.pdf
28+
all: ${TITLE}.pdf
2729

28-
tex: cs1001_prelab.tex
30+
tex: ${TITLE}.tex
2931

3032
quick: tex
31-
xelatex cs1001_prelab.tex
33+
xelatex ${TITLE}.tex
3234

33-
book: cs1001_prelab.pdf
34-
pdfbook --short-edge --letterpaper cs1001_prelab.pdf
35+
book: ${TITLE}.pdf
36+
pdfbook --short-edge --letterpaper ${TITLE}.pdf
3537
@echo -e "\n\nDone! Be sure to print that bad-boy using short-edge duplexing."
3638

37-
cs1001_prelab.pdf: ${MD_PIECES} template.tex .commit-info.tex
38-
pandoc --latex-engine=xelatex --template=template.tex --from markdown+${EXTENSIONS} --output cs1001_prelab.pdf ${MD_PIECES}
39+
${TITLE}.pdf: ${MD_PIECES} template.tex .commit-info.tex
40+
pandoc --latex-engine=xelatex --template=template.tex --from markdown+${EXTENSIONS} --output ${TITLE}.pdf ${MD_PIECES}
3941

40-
cs1001_prelab.tex: ${MD_PIECES} template.tex .commit-info.tex
41-
pandoc --latex-engine=xelatex --template=template.tex --standalone --from markdown+${EXTENSIONS} --output cs1001_prelab.tex ${MD_PIECES}
42+
${TITLE}.tex: ${MD_PIECES} template.tex .commit-info.tex
43+
pandoc --latex-engine=xelatex --template=template.tex --standalone --from markdown+${EXTENSIONS} --output ${TITLE}.tex ${MD_PIECES}
4244

4345
%.pdf: 00-FrontMatter.md %*.md .commit-info.tex
4446
pandoc --latex-engine=xelatex --template=template.tex --from markdown+${EXTENSIONS} --output $@ $(filter %.md, $^)

0 commit comments

Comments
 (0)