diff --git a/.gitignore b/.gitignore index c450f48..245ad98 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ mycorrhiza +config.mk diff --git a/Makefile b/Makefile index 4605e60..df7830c 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,15 @@ -WIKI=~/src/example-wiki +.POSIX: +include config.example.mk +include config.mk run: build - ./mycorrhiza ${WIKI} + ./mycorrhiza ${WIKIPATH} config_run: build - ./mycorrhiza ${WIKI} + ./mycorrhiza ${WIKIPATH} devconfig_run: build - ./mycorrhiza ${WIKI} + ./mycorrhiza ${WIKIPATH} build: go generate diff --git a/config.example.mk b/config.example.mk new file mode 100644 index 0000000..2f65bdc --- /dev/null +++ b/config.example.mk @@ -0,0 +1 @@ +WIKIPATH=~/src/example-wiki