Struktur fuer mehrere Sites anlegen

This commit is contained in:
Daniel Frank 2017-09-15 21:16:49 +02:00
commit ac9a0cd277
6 changed files with 24 additions and 0 deletions

18
Makefile Normal file
View 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}/$@ $@