diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-05 20:19:39 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-05 20:19:39 +0200 |
commit | e9068973db5e11b755352b7122abd352dff5f95a (patch) | |
tree | 7cdf8d5282b642f0c04b2694896852d9e23e9d85 /Makefile | |
parent | bd651554416a3e14cb75b6efe5a9e5dc7d5e27a9 (diff) | |
parent | e64b401e98b20caa564ebfe1ef0ed40626200e82 (diff) |
Merge branch '_da' into da
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 |