Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/xml/Makefile
Parent Directory
|
Revision Log
Revision 436 -
(show annotations)
(download)
Wed Jul 7 17:25:51 2010 UTC (14 years, 9 months ago) by amb
File size: 1300 byte(s)
Wed Jul 7 17:25:51 2010 UTC (14 years, 9 months ago) by amb
File size: 1300 byte(s)
Fix error from last checkin and clean up web directory on distclean.
1 | # $Header: /home/amb/CVS/routino/xml/Makefile,v 1.6 2010-07-07 17:25:51 amb Exp $ |
2 | # |
3 | # XML directory Makefile |
4 | # |
5 | # Part of the Routino routing software. |
6 | # |
7 | # This file Copyright 2010 Andrew M. Bishop |
8 | # |
9 | # This program is free software: you can redistribute it and/or modify |
10 | # it under the terms of the GNU Affero General Public License as published by |
11 | # the Free Software Foundation, either version 3 of the License, or |
12 | # (at your option) any later version. |
13 | # |
14 | # This program is distributed in the hope that it will be useful, |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 | # GNU Affero General Public License for more details. |
18 | # |
19 | # You should have received a copy of the GNU Affero General Public License |
20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
21 | # |
22 | |
23 | WEBDIR=../web/data |
24 | |
25 | FILES=profiles.xml \ |
26 | translations.xml \ |
27 | tagging.xml |
28 | |
29 | ######## |
30 | |
31 | all : |
32 | -@[ -d $(WEBDIR) ] && \ |
33 | for file in $(FILES); do \ |
34 | if [ ! -f $(WEBDIR)/$$file ] || [ routino-$$file -nt $(WEBDIR)/$$file ]; then \ |
35 | echo cp routino-$$file $(WEBDIR)/$$file ;\ |
36 | cp -f routino-$$file $(WEBDIR)/$$file ;\ |
37 | fi ;\ |
38 | done |
39 | |
40 | ######## |
41 | |
42 | clean: |
43 | rm -f *~ |
44 | |
45 | ######## |
46 | |
47 | distclean: clean |
48 | rm -f $(WEBDIR)/*.xml |
Properties
Name | Value |
---|---|
cvs:description | A Makefile for the xml directory. |