Browse Source

makefile: rename main.pdf -> knit.pandoc.pdf

Fabian Peter Hammerle 8 years ago
parent
commit
16c3259478
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Makefile

+ 3 - 3
Makefile

@@ -1,4 +1,4 @@
-all: knit.md knit.pandoc.docx knit.pandoc.html knit.html main.pdf
+all: knit.md knit.pandoc.docx knit.pandoc.html knit.html knit.pandoc.pdf
 
 R_OPTS=--no-save --no-restore --quiet
 
@@ -14,7 +14,7 @@ knit.pandoc.html : knit.md
 knit.html : main.Rmd
 	R ${R_OPTS} -e "library(knitr); knit2html(input='$<', output='$@')"
 
-main.pdf : knit.md
+knit.pandoc.pdf : knit.md
 	pandoc --output=$@ $^
 
 clean :
@@ -23,6 +23,6 @@ clean :
 	-trash knit.md
 	-trash knit.pandoc.docx
 	-trash knit.pandoc.html
-	-trash main.pdf
+	-trash knit.pandoc.pdf
 
 # https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html