1## $Id: Makefile.am,v 1.9 2009/05/30 14:10:32 rlk Exp $
2## Copyright (C) 2008 Robert Krawitz
3##
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2, or (at your option)
7## any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software
16## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18## Process this file with automake to produce Makefile.in.
19
20@SET_MAKE@
21
22include $(top_srcdir)/scripts/global.mk
23
24SUBDIRS =					\
25	inks					\
26	inputslots				\
27	model					\
28	media					\
29	mediasizes				\
30	qualitypresets				\
31	weaves
32
33xml-stamp: media/xml-stamp			\
34	   model/xml-stamp			\
35	   inputslots/xml-stamp			\
36	   inks/xml-stamp			\
37	   mediasizes/xml-stamp			\
38	   qualitypresets/Makefile.am		\
39	   weaves/Makefile.am			\
40	   Makefile.am
41	-rm -f $@ $@.tmp
42	touch $@.tmp
43	sed 's;^;media/;' media/xml-stamp >> $@.tmp
44	sed 's;^;model/;' model/xml-stamp >> $@.tmp
45	sed 's;^;inputslots/;' inputslots/xml-stamp >> $@.tmp
46	sed 's;^;inks/;' inks/xml-stamp >> $@.tmp
47	sed 's;^;mediasizes/;' mediasizes/xml-stamp >> $@.tmp
48	sed 's;^;weaves/;' weaves/xml-stamp >> $@.tmp
49	sed 's;^;qualitypresets/;' qualitypresets/xml-stamp >> $@.tmp
50	mv $@.tmp $@
51
52all-local: xml-stamp
53
54dist-hook: xml-stamp
55## Clean
56
57CLEANFILES = xml-stamp
58
59MAINTAINERCLEANFILES = Makefile.in
60