Change to config structure for multiple sites. Merge site ffhh-sued to master branch
This commit is contained in:
parent
2c22d01c85
commit
1fac91557f
11 changed files with 224 additions and 11 deletions
18
Makefile
Normal file
18
Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
all: check_site site.mk site.conf modules
|
||||
|
||||
.PHONY: check_site
|
||||
check_site:
|
||||
if test -z "${SITE}"; then echo Usage: make SITE=ffhh; exit 1; else true; fi
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f site.mk site.conf modules
|
||||
|
||||
modules:
|
||||
cp sites/${SITE}/$@ $@
|
||||
|
||||
site.conf:
|
||||
cp sites/${SITE}/$@ $@
|
||||
|
||||
site.mk:
|
||||
cp sites/${SITE}/$@ $@
|
Loading…
Add table
Add a link
Reference in a new issue