From f16db659a009b39875fc75c872c24f8340918ec0 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 3 Feb 2011 20:05:42 +0100 Subject: Tighten Makefile: Single-quote around variables used in shell. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b7c76be..3aab8c7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ IKIWIKI_OPTIONS ?= \ - --set srcdir=$(CURDIR)/content \ - --set destdir=$(CURDIR)/build/html \ + --set srcdir='$(CURDIR)/content' \ + --set destdir='$(CURDIR)/build/html' \ $(IKIWIKI_SHARED_OPTIONS) $(IKIWIKI_CONFIG_OPTIONS) -include shared/include.mk @@ -15,12 +15,12 @@ submodules: git submodule update --init --recursive config: submodules - mkdir -p "$@" - [ -e "$@/ikiwiki.setup" ] || ikiwiki $(IKIWIKI_OPTIONS) --dumpsetup "$@/ikiwiki.setup" + mkdir -p '$@' + [ -e '$@/ikiwiki.setup' ] || ikiwiki $(IKIWIKI_OPTIONS) --dumpsetup '$@/ikiwiki.setup' content: submodules - mkdir -p "$@" - [ -e "$@/index.mdwn" ] || printf "# Hello world!\n\nHello world!\n" > "$@/index.mdwn" + mkdir -p '$@' + [ -e '$@/index.mdwn' ] || printf '# Hello world!\n\nHello world!\n' > '$@/index.mdwn' build: find config -name '*.setup' -exec ikiwiki --setup '{}' --rebuild ';' -- cgit v1.2.3