summaryrefslogtreecommitdiff
path: root/src/xml/escp2/resolutions/Makefile.am
blob: 50945596429a6bcc5ec8609458bc9d915724f725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## Copyright (C) 2017 Krawitz
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <https://www.gnu.org/licenses/>.

## Process this file with automake to produce Makefile.in.

@SET_MAKE@

include $(top_srcdir)/scripts/global.mk

## Variables

pkgxmldatadir = $(pkgdatadir)/@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@/xml/escp2/resolutions

pkgxmldata_DATA =				\
	c8x.xml					\
	escp2-i.xml				\
	prox600.xml				\
	sc480.xml				\
	sc680.xml				\
	sc740.xml				\
	sc860.xml				\
	sp700.xml				\
	sp720.xml				\
	wf6xx.xml

xml-stamp: $(pkgxmldata_DATA) $(STAMPS) Makefile.am
	-rm -f $@ $@.tmp
	touch $@.tmp
	for dir in $(SUBDIRS) ; do \
	  sed "s;^;$$dir/;" $${dir}/xml-stamp >> $@.tmp ; \
	done
	for f in $(pkgxmldata_DATA) ; do echo $$f >> $@.tmp; done
	mv $@.tmp $@

all-local: xml-stamp

dist-hook: xml-stamp
CLEANFILES = xmli18n-tmp.h xml-stamp xml-stamp.tmp

EXTRA_DIST = $(pkgxmldata_DATA)