Commit 687631db authored by Pietro Albini's avatar Pietro Albini

Improve the Makefile a little bit

parent 8051a937
REPO_URL = "lp:~ubuntu-it-members/planet-ubuntu-it/membri"
.PHONY: build clean update html
.PHONY: build clean update
build: membri html
build: membri
@rm -rf build
@cat membri/config.ini config.ini > venus/config.ini
@cd venus && ./planet.py
@cp -r theme/libs build
@cp -r membri/images build
@cp -r banners build
update: membri
@cd membri && bzr pull -q
clean:
......@@ -14,18 +24,5 @@ clean:
@rm -f venus/config.ini
update: membri
@cd membri && bzr pull -q
membri:
@bzr branch $(REPO_URL) membri
html:
@rm -rf build
@cat membri/config.ini config.ini > venus/config.ini
@cd venus && ./planet.py
@cp -r theme/libs build
@cp -r membri/images build
@cp -r 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