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 |
|
|
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 |
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 |
|
|
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) \ |
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 |