Mercurial > mxd2map
annotate 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 |
rev | line source |
---|---|
155 | 1 # Build html from m4 macrofiles |
2 # $Id$ | |
3 # | |
4 # (c)2005,2006 by Intevation GmbH | |
5 # Author(s): Sascha Wilde | |
6 # | |
7 # This is Free Software licensed under the GPL | |
8 | |
9 # Preprocessor configuration | |
10 PP = m4 | |
11 PPFLAGS = --prefix-builtins | |
12 | |
13 # Build configuration | |
156
67d395ac5509
updated buildhtml to hg.
Emanuel Schuetze <emanuel@intevation.de>
parents:
155
diff
changeset
|
14 TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4)) |
155 | 15 SUBDIRS = |
16 | |
17 # Installation configuration | |
162
dd4bb5869f86
replaced mapWOC with MXD2map
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
18 INSTALL_DIR = ./mxd2map-www |
195
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
19 ADD_INST_TYPES = *.css *.php *.png .htaccess |
155 | 20 ADD_INST_DIRS = img |
21 | |
22 CURDIR=$(shell pwd) | |
23 | |
24 .SUFFIXES: .html .htm4 | |
25 | |
26 .htm4.html: | |
27 $(PP) -DNO_LINK_FOR=$@ $(PPFLAGS) $< > $@ | |
28 | |
211
bdf58d5b7d92
Added an english translation of the website.
Stephan Holl <stephan.holl@intevation.de>
parents:
195
diff
changeset
|
29 all: $(TARGETS) images subdirs |
155 | 30 |
31 $(TARGETS): template.m4 template_header.m4 \ | |
32 header.m4 style.css | |
33 | |
211
bdf58d5b7d92
Added an english translation of the website.
Stephan Holl <stephan.holl@intevation.de>
parents:
195
diff
changeset
|
34 images: |
bdf58d5b7d92
Added an english translation of the website.
Stephan Holl <stephan.holl@intevation.de>
parents:
195
diff
changeset
|
35 $(MAKE) -C ../doku/funktionsweise/ all |
bdf58d5b7d92
Added an english translation of the website.
Stephan Holl <stephan.holl@intevation.de>
parents:
195
diff
changeset
|
36 |
155 | 37 subdirs: $(SUBDIRS) |
38 @for dir in $^ ; do \ | |
39 $(MAKE) -C $$dir SUBDIRS="" ; \ | |
40 done | |
41 | |
42 online: all | |
162
dd4bb5869f86
replaced mapWOC with MXD2map
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
43 echo "Going to put current contents online for www.mxd2mapp.org ..." |
156
67d395ac5509
updated buildhtml to hg.
Emanuel Schuetze <emanuel@intevation.de>
parents:
155
diff
changeset
|
44 rsync -urvP --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \ |
195
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
45 sholl@wald.intevation.org:/mxd2map/htdocs/ |
155 | 46 |
47 install: all | |
48 mkdir -p $(INSTALL_DIR) ;\ | |
49 cp -uf $(TARGETS) $(INSTALL_DIR) ;\ | |
50 cp -uf $(ADD_INST_TYPES) $(INSTALL_DIR) | |
51 cp -urf *$(ADD_INST_DIRS) $(INSTALL_DIR) | |
156
67d395ac5509
updated buildhtml to hg.
Emanuel Schuetze <emanuel@intevation.de>
parents:
155
diff
changeset
|
52 find $(INSTALL_DIR) -name ".hg" | xargs rm -rf |
155 | 53 |
54 tar: install | |
55 echo $(CURDIR) | |
162
dd4bb5869f86
replaced mapWOC with MXD2map
Stephan Holl <stephan.holl@intevation.de>
parents:
159
diff
changeset
|
56 ( cd $(INSTALL_DIR) ; tar -czv -f $(CURDIR)/www.mxd2map.org.tar.gz . ) |
195
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
57 |
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
58 clean: |
211
bdf58d5b7d92
Added an english translation of the website.
Stephan Holl <stephan.holl@intevation.de>
parents:
195
diff
changeset
|
59 $(MAKE) -C ../doku/funktionsweise/ clean |
195
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
60 rm -f *.html |
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
61 |
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
62 clean-en: |
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
63 rm -f 404.html about.html contact.html development.html donate.html download.html impressum.html index.html license.html |
123ebb293f3a
* website/.htaccess,
Stephan Holl <stephan.holl@intevation.de>
parents:
162
diff
changeset
|
64 |