/[webwml]/newmaint/Makefile
ViewVC logotype

Contents of /newmaint/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Feb 13 09:51:37 2001 UTC (12 years, 3 months ago) by joy
Branch: MAIN
Changes since 1.2: +10 -3 lines
use internal wildcard function instead of shell for ls; fall back on the logical location for the template directory if seeS' one isn't found; added clean rule
1 # This Makefile should need no changes from webwml/english/logos/Makefile
2 # Please send a message to debian-www if you need to modify anything
3 # so the problem can be fixed.
4
5 BASE=..
6 THISDIR=ipv6
7
8 HTMLFILES= deadsite.html
9 PHPFILES=index.php main.php ammain.php amnew.php amnew2.php amprofile.php exit.php amstatus.php amupdate.php todo.php amlist.php fddelete.php leaderboard.php amlogin2.php login2.php nmlist.php whoisam.php newnm.php newnm2.php nmelist.php deletenm.php nmstatus.php stats.php nmadvocate.php
10 INCFILES=config.inc common.inc
11 WMLFILES=$(wildcard *.wml)
12 IMAGES=$(wildcard *.gif) $(wildcard *.jpg)
13 ifneq "$(wildcard ${HOME}/web-source/webwml/english/template)" ""
14 DEBTEMPLATEDIR := ${HOME}/web-source/webwml/english/template
15 else
16 DEBTEMPLATEDIR := ../webwml/english/template
17 endif
18 DEBTEMPLATES=$(wildcard $(DEBTEMPLATEDIR)/debian/*.wml) $(wildcard template/*.wml)
19 #WML_DEFS= -DINTRO="http://www.debian.org/intro" -DDISTRIB="http://www.debian.org/distrib" -DHOME="http://www.debian.org" -DPICS="http://www.debian.org/Pics" -DCUR_ISO_LANG="en" -I $(DEBTEMPLATEDIR) -I template -DSEARCH="http://search.debian.org/"
20 WML_DEFS= -I $(DEBTEMPLATEDIR)
21
22 all: $(HTMLFILES) $(PHPFILES)
23
24 %.html: %.wml $(DEBTEMPLATES)
25 wml $(WML_DEFS) $< -o UNDEFuEN:$@
26
27 %.php: %.wml $(DEBTEMPLATES)
28 wml $(WML_DEFS) $< -o UNDEFuEN:$@
29
30 rsync: $(HTMLFILES) $(PHPFILES)
31 rsync -e ssh $(HTMLFILES) $(PHPFILES) $(IMAGES) $(INCFILES) pandora.debian.org:/org/nm.debian.org/web
32
33 backup:
34 rsync -e ssh -r template $(WMLFILES) $(INCFILES) Makefile pandora.debian.org:/org/nm.debian.org/wml
35
36 install: $(HTMLFILES) $(PHPFILES)
37 cp $(HTMLFILES) $(PHPFILES) $(IMAGES) $(INCFILES) /var/www/nm
38
39 clean:
40 rm -f $(PHPFILES) $(HTMLFILES)

  ViewVC Help
Powered by ViewVC 1.1.5