Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Annotation of /trunk/xml/Makefile
Parent Directory
|
Revision Log
Revision 403 -
(hide annotations)
(download)
Sun May 23 12:22:44 2010 UTC (14 years, 10 months ago) by amb
File size: 1256 byte(s)
Sun May 23 12:22:44 2010 UTC (14 years, 10 months ago) by amb
File size: 1256 byte(s)
Make sure that modified files are copied to web directory.
1 | amb | 403 | # $Header: /home/amb/CVS/routino/xml/Makefile,v 1.4 2010-05-23 12:22:44 amb Exp $ |
2 | amb | 354 | # |
3 | # XML directory Makefile | ||
4 | # | ||
5 | # Part of the Routino routing software. | ||
6 | # | ||
7 | amb | 392 | # This file Copyright 2010 Andrew M. Bishop |
8 | amb | 354 | # |
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 | amb | 371 | XML=profiles.xml \ |
24 | amb | 392 | translations.xml \ |
25 | tagging.xml | ||
26 | amb | 354 | |
27 | ######## | ||
28 | |||
29 | amb | 371 | all : |
30 | amb | 354 | -@[ -d ../web/data ] && \ |
31 | for file in $(XML); do \ | ||
32 | amb | 403 | if [ ! -f ../web/data/$$file ] || [ routino-$$file -nt ../web/data/$$file ]; then \ |
33 | amb | 371 | echo cp routino-$$file ../web/data/$$file ;\ |
34 | cp routino-$$file ../web/data/$$file ;\ | ||
35 | amb | 354 | fi ;\ |
36 | done | ||
37 | |||
38 | ######## | ||
39 | |||
40 | clean: | ||
41 | rm -f *~ | ||
42 | |||
43 | ######## | ||
44 | |||
45 | distclean: clean |
Properties
Name | Value |
---|---|
cvs:description | A Makefile for the xml directory. |