-# $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
#
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+# Web file paths
+
WEBDIR=../web/data
+# Files to install
+
FILES=profiles.xml \
translations.xml \
tagging.xml
########
+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 *~
distclean: clean
rm -f $(WEBDIR)/*.xml
+
+########
+
+top=-top
+include ../Makefile