diff --git a/Makefile b/Makefile index 3fc954d..f505dfe 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ add_article: dir=`echo $$title | sed "s/ /-/g"`;\ mkdir -p $(ARTICLE_DIR)/$$dir;\ cat base.md | sed "s/{title}/$$title/g" | sed s/{date}/`date "+%Y-%m-%d"`/g> $(ARTICLE_DIR)/$$dir/index.md;\ - $(EDITOR) $(ARTICLE_DIR)/$$dir/index.md + $$EDITOR $(ARTICLE_DIR)/$$dir/index.md remove_article: @echo "Enter Article Title: " @@ -28,6 +28,6 @@ edit_article: @echo "Enter Article Title: " @read title;\ dir=`echo $$title | sed "s/ /-/g"`;\ - $(EDITOR) $(ARTICLE_DIR)/$$dir/index.md + $$EDITOR $(ARTICLE_DIR)/$$dir/index.md .PHONY: build clean preview add_article remove_article edit_article