2017-10-22 21:37:45 +02:00
|
|
|
sites: clean info sites/ffhh sites/ffhh-sued
|
2017-09-18 20:06:18 +02:00
|
|
|
|
2017-10-22 21:37:45 +02:00
|
|
|
info: config/defaults.erb template/info.erb
|
|
|
|
erb -T- config/defaults.erb template/$@.erb >$@
|
2017-09-18 20:06:18 +02:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2017-10-22 21:37:45 +02:00
|
|
|
rm -rf sites
|
|
|
|
rm -f info
|
|
|
|
|
|
|
|
sites/%: config/%.erb
|
|
|
|
mkdir -p $@
|
|
|
|
cd $@ && $(MAKE) -f ../../Makefile site SITE=$(@F)
|
|
|
|
|
|
|
|
site: siteclean site.mk site.conf modules
|
|
|
|
|
|
|
|
.PHONY: siteclean
|
|
|
|
siteclean:
|
2017-09-18 20:06:18 +02:00
|
|
|
rm -f site.mk site.conf modules
|
|
|
|
|
|
|
|
modules:
|
2017-10-22 21:37:45 +02:00
|
|
|
erb -T- ../../config/defaults.erb ../../config/$(SITE).erb ../../template/$@.erb >$@
|
2017-09-18 20:06:18 +02:00
|
|
|
|
|
|
|
site.conf:
|
2017-10-22 21:37:45 +02:00
|
|
|
erb -T- ../../config/defaults.erb ../../config/$(SITE).erb ../../template/$@.erb >$@
|
2017-09-18 20:06:18 +02:00
|
|
|
|
|
|
|
site.mk:
|
2017-10-22 21:37:45 +02:00
|
|
|
erb -T- ../../config/defaults.erb ../../config/$(SITE).erb ../../template/$@.erb >$@
|