X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=xml%2FMakefile;fp=xml%2FMakefile;h=d2364cdfe28d6a54ca9845e32e57e1d1045ea03d;hb=9dffc9de96014e24d1fd1030a79317ba34c504e8;hp=c822442ceceefa36cc2fda63b8b0e68321d6393f;hpb=42c9226fc71c19af4d755c6900120bfa07f7e99c;p=routino diff --git a/xml/Makefile b/xml/Makefile index c822442..d2364cd 100644 --- a/xml/Makefile +++ b/xml/Makefile @@ -1,4 +1,4 @@ -# $Header: /home/amb/routino/xml/RCS/Makefile,v 1.6 2010/07/07 17:25:51 amb Exp $ +# $Header: /home/amb/routino/xml/RCS/Makefile,v 1.8 2010/09/05 18:27:17 amb Exp $ # # XML directory Makefile # @@ -20,8 +20,12 @@ # along with this program. If not, see . # +# Web file paths + WEBDIR=../web/data +# Files to install + FILES=profiles.xml \ translations.xml \ tagging.xml @@ -39,6 +43,16 @@ all : ######## +install: all + -[ -d $(DESTDIR)$(datadir) ] || mkdir -p $(DESTDIR)$(datadir) + @[ -d $(DESTDIR)$(datadir) ] && \ + for file in $(FILES); do \ + echo cp routino-$$file $(DESTDIR)$(datadir)/$$file ;\ + cp -f routino-$$file $(DESTDIR)$(datadir)/$$file ;\ + done + +######## + clean: rm -f *~ @@ -46,3 +60,8 @@ clean: distclean: clean rm -f $(WEBDIR)/*.xml + +######## + +top=-top +include ../Makefile