comparison website/buildhtml.mk @ 236:ec9d63ce691d

Made build-chain for website and docs better
author Stephan Holl <stephan.holl@intevation.de>
date Fri, 05 Aug 2011 09:32:18 +0200
parents f13f51627f07
children 1725558a9ce8
comparison
equal deleted inserted replaced
235:00a39e8b6eed 236:ec9d63ce691d
24 .SUFFIXES: .html .htm4 24 .SUFFIXES: .html .htm4
25 25
26 .htm4.html: 26 .htm4.html:
27 $(PP) -DNO_LINK_FOR=$@ $(PPFLAGS) $< > $@ 27 $(PP) -DNO_LINK_FOR=$@ $(PPFLAGS) $< > $@
28 28
29 all: $(TARGETS) images subdirs 29 all: $(TARGETS) doc images subdirs
30 30
31 $(TARGETS): template.m4 template_header.m4 \ 31 $(TARGETS): template.m4 template_header.m4 \
32 header.m4 style.css 32 header.m4 style.css
33 33
34 documentation: 34 doc:
35 $(MAKE) -C ../doku online 35 $(MAKE) -C ../doku/ online
36 36
37 images: 37 images:
38 $(MAKE) -C ../doku/funktionsweise/ all 38 $(MAKE) -C ../doku/funktionsweise/ all
39 39
40 subdirs: $(SUBDIRS) 40 subdirs: $(SUBDIRS)
41 @for dir in $^ ; do \ 41 @for dir in $^ ; do \
42 $(MAKE) -C $$dir SUBDIRS="" ; \ 42 $(MAKE) -C $$dir SUBDIRS="" ; \
43 done 43 done
44 44
45 online: all documentation 45 online: all
46 echo "Going to put current contents online for www.mxd2mapp.org ..." 46 echo "Going to put current contents online for www.mxd2map.org ..."
47 rsync -urvPL --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \ 47 rsync -urvPL --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \
48 sholl@wald.intevation.org:/mxd2map/htdocs/ 48 sholl@wald.intevation.org:/mxd2map/htdocs/
49 49
50 install: all 50 install: all
51 mkdir -p $(INSTALL_DIR) ;\ 51 mkdir -p $(INSTALL_DIR) ;\
58 echo $(CURDIR) 58 echo $(CURDIR)
59 ( cd $(INSTALL_DIR) ; tar -czv -f $(CURDIR)/www.mxd2map.org.tar.gz . ) 59 ( cd $(INSTALL_DIR) ; tar -czv -f $(CURDIR)/www.mxd2map.org.tar.gz . )
60 60
61 clean: 61 clean:
62 $(MAKE) -C ../doku/funktionsweise/ clean 62 $(MAKE) -C ../doku/funktionsweise/ clean
63 $(MAKE) -C ../doku/ clean
63 rm -f *.html 64 rm -f *.html
64 65
65 clean-en: 66 clean-en:
66 rm -f 404.html about.html contact.html development.html donate.html download.html impressum.html index.html license.html 67 rm -f 404.html about.html contact.html development.html donate.html download.html impressum.html index.html license.html
67 68
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)