Commit 76d0e974 authored by Pietro Albini's avatar Pietro Albini

Add easy build support with make

parent af2ecbe4
*.py[co]
*.tmplc
# Dynamically generated stuff
/build
/cache
/membri
/venus/config.ini
REPO_URL = "lp:~ubuntu-it-members/planet-ubuntu-it/membri"
.PHONY: build clean update html
build: membri html
clean:
@rm -rf build
@rm -rf cache
@rm -rf membri
@rm -f venus/config.ini
update:
@cd membri && bzr pull -q
membri:
@bzr branch $(REPO_URL) membri
@ln -sf ../membri/config.ini venus/config.ini
html:
@rm -rf build
@cd venus && ./planet.py
@cp -r theme/libs build
@cp -r membri/images build
@cp -r venus/banners build
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment