diff options
-rw-r--r-- | build_Rmd.R (renamed from build_RMD.R) | 1 | ||||
-rw-r--r-- | makefile | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/build_RMD.R b/build_Rmd.R index 41ae461..9e84fa5 100644 --- a/build_RMD.R +++ b/build_Rmd.R @@ -1,3 +1,2 @@ args = commandArgs(trailingOnly = TRUE) -print(args) rmarkdown::render(args[1],output_file=paste('../',args[2],sep='')) @@ -7,7 +7,7 @@ RMD_OUT := $(patsubst $(SRC)/%.Rmd,$(BUILD)/%.html,$(RMD_IN)) all: $(RMD_OUT) @mkdir -p build @echo "Building index" - @Rscript build_RMD.R $(SRC)/index.Rmd $(BUILD)/index.html > /dev/null 2>&1 + @Rscript build_Rmd.R $(SRC)/index.Rmd $(BUILD)/index.html > /dev/null 2>&1 @echo "Building RSS" @python3 build_rss.py @echo "Done" @@ -17,7 +17,7 @@ deploy: kllnr.net:/var/www/kenkellner.com/blog/ $(BUILD)/%.html: $(SRC)/%.Rmd $(SRC)/_navbar.yml - Rscript build_RMD.R $< $@ + Rscript build_Rmd.R $< $@ clean: rm -f build/* |