Merge pull request #15 from tokudan/0.8.x
Struktur fuer mehrere Sites anlegen
This commit is contained in:
commit
21842c39d0
6 changed files with 24 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1 +1,4 @@
|
||||||
*~
|
*~
|
||||||
|
site.conf
|
||||||
|
site.mk
|
||||||
|
modules
|
||||||
|
|
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}/$@ $@
|
|
@ -3,6 +3,9 @@
|
||||||
git clone https://github.com/freifunk-gluon/gluon.git # Get the official Gluon repository
|
git clone https://github.com/freifunk-gluon/gluon.git # Get the official Gluon repository
|
||||||
cd gluon
|
cd gluon
|
||||||
git clone https://github.com/freifunkhamburg/site-ffhh.git site # Get the Freifunk Hamburg site repository
|
git clone https://github.com/freifunkhamburg/site-ffhh.git site # Get the Freifunk Hamburg site repository
|
||||||
|
cd site
|
||||||
|
make SITE=ffhh
|
||||||
|
cd ..
|
||||||
make update # Get other repositories used by Gluon
|
make update # Get other repositories used by Gluon
|
||||||
make # Build Gluon
|
make # Build Gluon
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue