diff --git a/Makefile b/Makefile index b91f380de..f2f493789 100644 --- a/Makefile +++ b/Makefile @@ -110,25 +110,6 @@ www/%.html: content/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) # $(VALIDATOR) $(VFLAGS) $< # $(PROCESSOR) $(PFLAGS) -o $@ $(STYLE) $< -### Hilfsregeln zum Editieren ### -edit/%: - @if [ ! -e content/$(@F).xml ] ; then \ - cp $(SKELFILE) content/$(@F).xml ;\ - fi - - @$(EDITOR) content/$(@F).xml - - @if diff -q $(SKELFILE) content/$(@F).xml >/dev/null ; then \ - echo "Warning: content/$(@F).xml does not differ from the skeleton $(SKELFILE)" ;\ - rm -i content/$(@F).xml ;\ - fi - -view/%: www/%.html - @$(BROWSER) $< - -content/%.xml: - $(MAKE) edit/$(patsubst content/%.xml,%,$@) - ### Die neuesten Chaosupdates holen ### $(WWW_CCC_DE_UPDATES): $(WGET) http://www.ccc.de/updates/$(WWW_CCC_DE_UPDATES) || \