/[webwml]/newmaint/Makefile
ViewVC logotype

Contents of /newmaint/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Wed Aug 1 11:58:30 2001 UTC (11 years, 9 months ago) by joy
Branch: MAIN
Changes since 1.9: +5 -1 lines
added Denis' patch for DEBTEMPLATEDIR/debian/countries.def (ew)
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 maintainers.php gpg.php gpgmain.php gpglogin2.php gpglogin.php gpgpasswd.php gpgregister.php gpgplace.php
10 INCFILES=config.inc common.inc gpgcommon.inc gpgconfig.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) $(DEBTEMPLATEDIR)/debian/countries.def $(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 TARGETDIR=../../web
21
22 WML_DEFS= -I $(DEBTEMPLATEDIR)
23
24 all: $(HTMLFILES) $(PHPFILES)
25
26 %.html: %.wml $(DEBTEMPLATES)
27 wml $(WML_DEFS) $< -o UNDEFuEN:$@
28
29 %.php: %.wml $(DEBTEMPLATES)
30 wml $(WML_DEFS) $< -o UNDEFuEN:$@
31
32 rsync: $(HTMLFILES) $(PHPFILES)
33 rsync -e ssh $(HTMLFILES) $(PHPFILES) $(IMAGES) $(INCFILES) pandora.debian.org:/org/nm.debian.org/web
34
35 backup:
36 rsync -e ssh -r template $(WMLFILES) $(INCFILES) Makefile pandora.debian.org:/org/nm.debian.org/wml
37
38 install: $(HTMLFILES) $(PHPFILES)
39 cp $(HTMLFILES) $(PHPFILES) $(IMAGES) $(INCFILES) $(TARGETDIR)
40
41 clean:
42 rm -f $(PHPFILES) $(HTMLFILES)
43
44 $(DEBTEMPLATEDIR)/debian/countries.def: $(DEBTEMPLATEDIR)/debian/countries.wml
45 cd $(DEBTEMPLATEDIR)/debian && sed -e /^#/d countries.wml | eperl -B '<:' -E ':>' - >/dev/null
46

  ViewVC Help
Powered by ViewVC 1.1.5