source: trunk/third/enscript/lib/Makefile.in @ 17629

Revision 17629, 7.0 KB checked in by ghudson, 22 years ago (diff)
Add DESTDIR support. (From Red Hat.)
Line 
1# Makefile.in generated automatically by automake 1.3 from Makefile.am
2
3# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13#
14# Automakefile for the library files.
15# Copyright (c) 1995-1998 Markku Rossi
16#
17# Author: Markku Rossi <mtr@iki.fi>
18#
19
20#
21# This file is part of GNU enscript.
22#
23# This program is free software; you can redistribute it and/or modify
24# it under the terms of the GNU General Public License as published by
25# the Free Software Foundation; either version 2, or (at your option)
26# any later version.
27#
28# This program is distributed in the hope that it will be useful,
29# but WITHOUT ANY WARRANTY; without even the implied warranty of
30# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
31# GNU General Public License for more details.
32#
33# You should have received a copy of the GNU General Public License
34# along with this program; see the file COPYING.  If not, write to
35# the Free Software Foundation, 59 Temple Place - Suite 330,
36# Boston, MA 02111-1307, USA.
37#
38
39
40SHELL = /bin/sh
41
42srcdir = @srcdir@
43top_srcdir = @top_srcdir@
44VPATH = @srcdir@
45prefix = @prefix@
46exec_prefix = @exec_prefix@
47
48bindir = @bindir@
49sbindir = @sbindir@
50libexecdir = @libexecdir@
51datadir = @datadir@
52sysconfdir = @sysconfdir@
53sharedstatedir = @sharedstatedir@
54localstatedir = @localstatedir@
55libdir = @libdir@
56infodir = @infodir@
57mandir = @mandir@
58includedir = @includedir@
59oldincludedir = /usr/include
60
61DISTDIR =
62
63pkgdatadir = $(datadir)/@PACKAGE@
64pkglibdir = $(libdir)/@PACKAGE@
65pkgincludedir = $(includedir)/@PACKAGE@
66
67top_builddir = ..
68
69ACLOCAL = @ACLOCAL@
70AUTOCONF = @AUTOCONF@
71AUTOMAKE = @AUTOMAKE@
72AUTOHEADER = @AUTOHEADER@
73
74INSTALL = @INSTALL@
75INSTALL_PROGRAM = @INSTALL_PROGRAM@
76INSTALL_DATA = @INSTALL_DATA@
77INSTALL_SCRIPT = @INSTALL_SCRIPT@
78transform = @program_transform_name@
79
80NORMAL_INSTALL = :
81PRE_INSTALL = :
82POST_INSTALL = :
83NORMAL_UNINSTALL = :
84PRE_UNINSTALL = :
85POST_UNINSTALL = :
86CATALOGS = @CATALOGS@
87CATOBJEXT = @CATOBJEXT@
88CC = @CC@
89CFLAGS = @CFLAGS@
90CPP = @CPP@
91DATADIRNAME = @DATADIRNAME@
92GENCAT = @GENCAT@
93GMOFILES = @GMOFILES@
94GMSGFMT = @GMSGFMT@
95GT_NO = @GT_NO@
96GT_YES = @GT_YES@
97INSTOBJEXT = @INSTOBJEXT@
98INTLDEPS = @INTLDEPS@
99INTLLIBS = @INTLLIBS@
100INTLOBJS = @INTLOBJS@
101LDFLAGS = @LDFLAGS@
102LEX = @LEX@
103LIBOBJS = @LIBOBJS@
104MAKEINFO = @MAKEINFO@
105MEDIA = @MEDIA@
106MKINSTALLDIRS = @MKINSTALLDIRS@
107MSGFMT = @MSGFMT@
108PACKAGE = @PACKAGE@
109PERL = @PERL@
110POFILES = @POFILES@
111POSUB = @POSUB@
112PSLEVEL = @PSLEVEL@
113RANLIB = @RANLIB@
114SPOOLER = @SPOOLER@
115U = @U@
116USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
117USE_NLS = @USE_NLS@
118VERSION = @VERSION@
119YACC = @YACC@
120l = @l@
121
122pkgdata_DATA = ascii.enc asciifise.enc asciidkno.enc hp8.enc ibmpc.enc \
123koi8.enc 88591.enc 88592.enc 88593.enc 88594.enc 88595.enc 88597.enc \
124mac.enc ps.enc pslatin1.enc vms.enc a2ps.hdr edd.hdr emacs.hdr \
125enscript.hdr frame.hdr mp.hdr simple.hdr enscript.pro
126
127EXTRA_DIST = enscript.cfg.in $(pkgdata_DATA) Makefile-encodings \
128make-encoding.pl
129
130CLEANFILES = enscript.cfg
131mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
132CONFIG_HEADER = ../config.h
133CONFIG_CLEAN_FILES =
134DATA =  $(pkgdata_DATA)
135
136DIST_COMMON =  ChangeLog Makefile.am Makefile.in
137
138
139DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
140
141TAR = gtar
142GZIP = --best
143all: Makefile $(DATA) all-local
144
145.SUFFIXES:
146$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
147        cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps lib/Makefile
148
149Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
150        cd $(top_builddir) \
151          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
152
153
154install-pkgdataDATA: $(pkgdata_DATA)
155        @$(NORMAL_INSTALL)
156        $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
157        @list='$(pkgdata_DATA)'; for p in $$list; do \
158          if test -f $(srcdir)/$$p; then \
159            echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
160            $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
161          else if test -f $$p; then \
162            echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
163            $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
164          fi; fi; \
165        done
166
167uninstall-pkgdataDATA:
168        @$(NORMAL_UNINSTALL)
169        list='$(pkgdata_DATA)'; for p in $$list; do \
170          rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
171        done
172tags: TAGS
173TAGS:
174
175
176distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
177
178subdir = lib
179
180distdir: $(DISTFILES)
181        @for file in $(DISTFILES); do \
182          d=$(srcdir); \
183          test -f $(distdir)/$$file \
184          || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
185          || cp -p $$d/$$file $(distdir)/$$file; \
186        done
187info:
188dvi:
189check: all
190        $(MAKE)
191installcheck:
192install-exec:
193        @$(NORMAL_INSTALL)
194
195install-data: install-pkgdataDATA install-data-local
196        @$(NORMAL_INSTALL)
197
198install: install-exec install-data all
199        @:
200
201uninstall: uninstall-pkgdataDATA uninstall-local
202
203install-strip:
204        $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
205installdirs:
206        $(mkinstalldirs)  $(DATADIR)$(pkgdatadir)
207
208
209mostlyclean-generic:
210        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
211
212clean-generic:
213        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
214
215distclean-generic:
216        -rm -f Makefile $(DISTCLEANFILES)
217        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
218        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
219
220maintainer-clean-generic:
221        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
222        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
223mostlyclean:  mostlyclean-generic
224
225clean:  clean-generic mostlyclean
226
227distclean:  distclean-generic clean
228        -rm -f config.status
229
230maintainer-clean:  maintainer-clean-generic distclean
231        @echo "This command is intended for maintainers to use;"
232        @echo "it deletes files that may require special tools to rebuild."
233
234.PHONY: uninstall-pkgdataDATA install-pkgdataDATA tags distdir info dvi \
235installcheck install-exec install-data install uninstall all \
236installdirs mostlyclean-generic distclean-generic clean-generic \
237maintainer-clean-generic clean mostlyclean distclean maintainer-clean
238
239
240all-local: enscript.cfg
241
242install-data-local: enscript.cfg
243        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
244        if test -r $(DESTDIR)$(sysconfdir)/enscript.cfg; then \
245          cp $(DESTDIR)$(sysconfdir)/enscript.cfg \
246                $(DESTDIR)$(sysconfdir)/enscript.cfg.old; \
247        else :; \
248        fi
249        $(INSTALL_DATA) enscript.cfg $(DESTDIR)$(sysconfdir)/enscript.cfg
250
251uninstall-local:
252        rm -f $(DESTDIR)$(sysconfdir)/enscript.cfg
253
254enscript.cfg: $(srcdir)/enscript.cfg.in Makefile
255        sed 's%@DATADIR@%$(datadir)%g; s%@media@%@MEDIA@%g; s%@BINDIR@%$(bindir)%g; s%@spooler@%@SPOOLER@%g; s%@pslevel@%@PSLEVEL@%g' \
256        $(srcdir)/enscript.cfg.in >enscript.cfg
257
258# Tell versions [3.59,3.63) of GNU make to not export all variables.
259# Otherwise a system limit (for SysV at least) may be exceeded.
260.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.