1## $Id: Makefile.am,v 1.4 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
24## Variables
25
26pkgxmldatadir = $(pkgdatadir)/@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@/xml/escp2/mediasizes
27
28pkgxmldata_DATA =				\
29	standard.xml
30
31xml-stamp: $(pkgxmldata_DATA) Makefile.am
32	-rm -f $@ $@.tmp
33	touch $@.tmp
34	for f in $(pkgxmldata_DATA) ; do echo $$f >> $@.tmp; done
35	mv $@.tmp $@
36
37all-local: xml-stamp
38
39dist-hook: xml-stamp
40CLEANFILES = xmli18n-tmp.h xml-stamp xml-stamp.tmp
41
42EXTRA_DIST = $(pkgxmldata_DATA)
43