/[gpg4kde]/trunk/doc/website/Makefile
ViewVC logotype

Diff of /trunk/doc/website/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/doc/website/buildhtml.mk revision 2 by khruskowski, Tue May 27 14:24:43 2008 UTC trunk/doc/website/Makefile revision 16 by bernhard, Mon Feb 4 13:44:17 2019 UTC
# Line 1  Line 1 
1  # Build html from m4 macrofiles  # Build html from m4 macrofiles
2  # $Id$  # $Id$
3  #  #
4  # (c)2005,2006 by Intevation GmbH  # (c)2005,2006,2008 by Intevation GmbH
5  # Author(s): Sascha Wilde  # Authors:
6    # Sascha Wilde <[email protected]>
7    # Jan-Oliver Wagner <[email protected]>
8  #  #
9  # This is Free Software licensed under the GPL  # This is Free Software licensed under the GPL
10    
# Line 11  PP = m4 Line 13  PP = m4
13  PPFLAGS = --prefix-builtins  PPFLAGS = --prefix-builtins
14    
15  # Build configuration  # Build configuration
16  TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4)) change-history.html change-history-de.html  TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4))
17  SUBDIRS =  SUBDIRS =
18    
19  # Installation configuration  # Installation configuration
# Line 19  INSTALL_DIR = /tmp/gpg4kde-www Line 21  INSTALL_DIR = /tmp/gpg4kde-www
21  ADD_INST_TYPES = *.css *.ico *.php  ADD_INST_TYPES = *.css *.ico *.php
22  ADD_INST_DIRS = pix  ADD_INST_DIRS = pix
23    
24  USER=$(shell grep "svn+ssh://" .svn/entries | sed -e "s/.*svn+ssh:\/\///g" | sed -e "s/@.*//g" | head -1)  USER=$(shell svn info --show-item url | sed -e "s/.*svn+ssh:\/\///g" | sed -e "s/@.*//g" | head -1)
25    
26  CURDIR=$(shell pwd)  CURDIR=$(shell pwd)
27    
# Line 39  subdirs: $(SUBDIRS) Line 41  subdirs: $(SUBDIRS)
41            $(MAKE) -C $$dir SUBDIRS="" ; \            $(MAKE) -C $$dir SUBDIRS="" ; \
42          done          done
43    
 change-history.htm4: build-history.awk NEWS.last  
         awk -f build-history.awk < NEWS.last > $@  
   
 change-history-de.htm4: build-history.awk NEWS.last  
         awk -f build-history.awk -v lang=de < NEWS.last > $@  
   
44  online: all  online: all
45          echo "Going to put current contents online for www.gpg4kde.org ..."          echo "Going to put current contents online for www.gpg4kde.org ..."
46          rsync -urvP --exclude='.svn' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \          rsync -urvP --exclude='.svn' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \
# Line 60  install: all Line 56  install: all
56  tar: install  tar: install
57          echo $(CURDIR)          echo $(CURDIR)
58          ( cd $(INSTALL_DIR) ; tar -czv -f $(CURDIR)/www.gpg4kde.org.tar.gz . )          ( cd $(INSTALL_DIR) ; tar -czv -f $(CURDIR)/www.gpg4kde.org.tar.gz . )
59    
60    clean:
61            rm *.html

Legend:
Removed from v.2  
changed lines
  Added in v.16

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26