diff options
author | Jonas Smedegaard <dr@jones.dk> | 2011-02-03 20:05:42 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2011-02-03 20:10:32 +0100 |
commit | f16db659a009b39875fc75c872c24f8340918ec0 (patch) | |
tree | 2950d486574feedc994aa772803f341cb322b3fc | |
parent | 88a89c4fc20d32e145238bd682fd761f4606604c (diff) |
Tighten Makefile: Single-quote around variables used in shell.
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 ';' |