mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-05 17:40:26 +00:00
Allow changing the wiki path for make
For example, bouncepaw uses ~/src, I use ~/Code and ~/sources. Many other people use different prefixes.
This commit is contained in:
parent
9cd3bd20a9
commit
e2f228a732
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
mycorrhiza
|
||||
config.mk
|
||||
|
10
Makefile
10
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
|
||||
|
1
config.example.mk
Normal file
1
config.example.mk
Normal file
@ -0,0 +1 @@
|
||||
WIKIPATH=~/src/example-wiki
|
Loading…
Reference in New Issue
Block a user