# HG changeset patch # User Emanuel Schuetze # Date 1301494288 -7200 # Node ID 67d395ac550904c1378db30e583adad00f9c08e1 # Parent 5a882b5773c9e3babf2a6016964510e48169a3e3 updated buildhtml to hg. diff -r 5a882b5773c9 -r 67d395ac5509 buildhtml.mk --- a/buildhtml.mk Wed Mar 30 15:51:06 2011 +0200 +++ b/buildhtml.mk Wed Mar 30 16:11:28 2011 +0200 @@ -11,7 +11,7 @@ PPFLAGS = --prefix-builtins # Build configuration -TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4)) change-history.html change-history-de.html +TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4)) SUBDIRS = # Installation configuration @@ -19,8 +19,6 @@ ADD_INST_TYPES = *.css *.php *.png ADD_INST_DIRS = img -#USER=$(shell grep "svn+ssh://" .svn/entries | sed -e "s/.*svn+ssh:\/\///g" | sed -e "s/@.*//g" | head -1) - CURDIR=$(shell pwd) .SUFFIXES: .html .htm4 @@ -40,7 +38,7 @@ online: all echo "Going to put current contents online for www.mapwocp.org ..." - rsync -urvP --exclude='.svn' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \ + rsync -urvP --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \ $(USER)@wald.intevation.org:/mapwoc/htdocs/ install: all @@ -48,7 +46,7 @@ cp -uf $(TARGETS) $(INSTALL_DIR) ;\ cp -uf $(ADD_INST_TYPES) $(INSTALL_DIR) cp -urf *$(ADD_INST_DIRS) $(INSTALL_DIR) - find $(INSTALL_DIR) -name ".svn" | xargs rm -rf + find $(INSTALL_DIR) -name ".hg" | xargs rm -rf tar: install echo $(CURDIR)