changeset 156:67d395ac5509

updated buildhtml to hg.
author Emanuel Schuetze <emanuel@intevation.de>
date Wed, 30 Mar 2011 16:11:28 +0200
parents 5a882b5773c9
children ee9f3bb16f36
files buildhtml.mk
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)