Mercurial > mxd2map
view website/buildhtml.mk @ 188:43f1cbdcd597
Modified and beautified the documentation:
* INSTALL.txt, doku/Makefile, doku/source/conf.py,
doku/source/functionality.txt, doku/source/index.txt,
doku/source/restrictions.txt, website/favicon.png, LICENCE.txt:
added more details to the content of the documentation. some more
configurations.
* doku/source/LICENCE.txt: New. Added a licence-text (symlinking
into the documentation).
* doku/source/_static/favicon.png,
doku/source/_static/logo_wide.png,
doku/source/_templates/indexsidebar.html,
doku/source/_templates/layout.html: Optic-cosmetics.
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 15:53:01 +0200 |
parents | dd4bb5869f86 |
children | 123ebb293f3a |
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 ADD_INST_DIRS = img CURDIR=$(shell pwd) .SUFFIXES: .html .htm4 .htm4.html: $(PP) -DNO_LINK_FOR=$@ $(PPFLAGS) $< > $@ all: $(TARGETS) subdirs $(TARGETS): template.m4 template_header.m4 \ header.m4 style.css 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) \ $(USER)@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 . )