1 ## Makefile.am -- an automake template for a Makefile.in file
2 ## EPSON ESC/Page Printer Driver for Linux
3 ## Copyright (C) Seiko Epson Corporation 2000-2012.
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 of the License, or
7 ## (at your option) any later version.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA.
23 ACLOCAL_AMFLAGS = -I m4
29 debian/control: $(srcdir)/Makefile $(srcdir)/debian/control.in
31 sed -e 's|[@]PACKAGE_BUGREPORT[@]|$(PACKAGE_BUGREPORT)|' \
32 -e 's|[@]PACKAGE_NAME[@]|$(PACKAGE_NAME)|' \
33 -e 's|[@]PACKAGE_TARNAME[@]|$(PACKAGE_TARNAME)|' \
34 '$(top_srcdir)/$@.in' > $@.tmp; \
37 debian/rules: $(srcdir)/Makefile $(srcdir)/debian/rules.in
39 sed -e 's|[@]CUPS_FILTER_DIR[@]|$(CUPS_FILTER_DIR)|' \
40 -e 's|[@]CUPS_PPD_DIR[@]|$(CUPS_PPD_DIR)|' \
41 -e 's|[@]PACKAGE_TARNAME[@]|$(PACKAGE_TARNAME)|' \
42 '$(top_srcdir)/$@.in' > $@.tmp; \
46 # Automate maintenance of the list of shipped M4 macros.
47 # Do not change the list unnecessarily. As a side effect, this also
48 # works around issues with a read-only $(srcdir) during a 'distcheck'.
50 $(top_builddir)/m4-macros: $(top_srcdir)/m4
51 echo M4_MACROS = `ls $^ | sed 's,^,m4/,'` > m4-macros.tmp
52 cmp -s m4-macros.tmp $@ || cp m4-macros.tmp $@
74 epson-laser-printer-escpage.spec \
75 epson-laser-printer-escpage.spec.in \