diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-05 20:19:44 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-05 20:19:44 +0200 |
commit | 6644c72313cde500b33c866d694f0658f5210e63 (patch) | |
tree | 5f576716e6231cffaa4021c8b65fbf3761caeb74 /Makefile | |
parent | 6ba5747c87ca77449a2cbb79f86593f2e6ae0084 (diff) | |
parent | 2bd3b6ee0065ecde9bf0e99b626b02668ba2639a (diff) |
Merge branch '_clean' into allinone
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -28,14 +28,26 @@ all: init $(SOURCES) init: git submodule init git submodule update - $(if $(dummy_MODULES),mkdir -p $(dummy_MODULES)) touch init -install:: init +install:: init $(dummy_MODULES) ifeq ($(strip $(CONFIGS)),) $(error Please configure ikiwiki.setup and then uncomment it at the top of the Makefile!) endif +content_dummy_master: + mkdir $@ + cd $@ && git init + echo .ikiwiki > $@/.gitignore + cd $@ && git add .gitignore + cd $@ && git commit -m "Ignore .ikiwiki." + +$(dummy_MODULES): content_dummy_master + clone $< $@ + +clean:: + rm -rf content_dummy_master $(dummy_MODULES) + include make/rules.mk pot: $(ALL_POTFILES) @@ -43,4 +55,4 @@ po: $(ALL_POFILES) $(LOCALE_L10NFILES): $(MASTER_L10NFILES) translations: po $(LOCALE_L10NFILES) -.PHONY: all $(SOURCES) pot po translations install ultraclean +.PHONY: all $(SOURCES) pot po translations install clean |