Mercurial > mxd2map
view website/buildhtml.mk @ 211:bdf58d5b7d92
Added an english translation of the website.
* website/about.htm4, website/buildhtml.mk,
website/contact-de.htm4, website/contact.htm4,
website/development-de.htm4, website/development.htm4,
website/donate-de.htm4, website/donate.htm4,
website/download.htm4, website/img/funktionsweise-MXD2map-de.png,
website/index.htm4, website/license-de.htm4, website/license.htm4,
website/template_header.m4,
website/img/funktionsweise-MXD2map.png,
website/img/funktionsweise-MXD2map_small.png,
doku/funktionsweise/funktionsweise-MXD-konverter.svg,
website/img/funktionsweise-MXD-konverter.png,
website/img/funktionsweise-MXD-konverter_small.png: English
translation of the website. Added a new Makefile-Target 'images'
to get the dokumentation-images into the site.
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Fri, 22 Jul 2011 13:24:36 +0200 |
parents | 123ebb293f3a |
children | 011ec33e84b4 |
line wrap: on
line source
# Build html from m4 macrofiles # $Id$ # # (c)2005,2006 by Intevation GmbH # Author(s): Sascha Wilde # # This is Free Software licensed under the GPL # Preprocessor configuration PP = m4 PPFLAGS = --prefix-builtins # Build configuration TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4)) SUBDIRS = # Installation configuration INSTALL_DIR = ./mxd2map-www ADD_INST_TYPES = *.css *.php *.png .htaccess ADD_INST_DIRS = img CURDIR=$(shell pwd) .SUFFIXES: .html .htm4 .htm4.html: $(PP) -DNO_LINK_FOR=$@ $(PPFLAGS) $< > $@ all: $(TARGETS) images subdirs $(TARGETS): template.m4 template_header.m4 \ header.m4 style.css images: $(MAKE) -C ../doku/funktionsweise/ all subdirs: $(SUBDIRS) @for dir in $^ ; do \ $(MAKE) -C $$dir SUBDIRS="" ; \ done online: all echo "Going to put current contents online for www.mxd2mapp.org ..." rsync -urvP --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \ sholl@wald.intevation.org:/mxd2map/htdocs/ install: all mkdir -p $(INSTALL_DIR) ;\ cp -uf $(TARGETS) $(INSTALL_DIR) ;\ cp -uf $(ADD_INST_TYPES) $(INSTALL_DIR) cp -urf *$(ADD_INST_DIRS) $(INSTALL_DIR) find $(INSTALL_DIR) -name ".hg" | xargs rm -rf tar: install echo $(CURDIR) ( cd $(INSTALL_DIR) ; tar -czv -f $(CURDIR)/www.mxd2map.org.tar.gz . ) clean: $(MAKE) -C ../doku/funktionsweise/ clean rm -f *.html clean-en: rm -f 404.html about.html contact.html development.html donate.html download.html impressum.html index.html license.html