~ubuntu-branches/ubuntu/maverick/atool/maverick

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2008-06-24 16:57:28 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080624165728-0w49yzajqu84lxg8
Tags: 0.35.0-4
Fix typos in README.Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Location of source code files
 
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
 
6
# This Makefile.in is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy and/or distribute it,
 
8
# with or without modifications, as long as this notice is preserved.
 
9
 
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
13
# PARTICULAR PURPOSE.
 
14
 
 
15
@SET_MAKE@
 
16
 
2
17
srcdir = @srcdir@
3
 
 
4
 
# Root of installation tree (architecture-independent files)
5
 
prefix = @prefix@
6
 
 
7
 
# Root of installation tree (architecture-dependent files)
 
18
top_srcdir = @top_srcdir@
 
19
VPATH = @srcdir@
 
20
pkgdatadir = $(datadir)/@PACKAGE@
 
21
pkglibdir = $(libdir)/@PACKAGE@
 
22
pkgincludedir = $(includedir)/@PACKAGE@
 
23
top_builddir = .
 
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
25
INSTALL = @INSTALL@
 
26
install_sh_DATA = $(install_sh) -c -m 644
 
27
install_sh_PROGRAM = $(install_sh) -c
 
28
install_sh_SCRIPT = $(install_sh) -c
 
29
INSTALL_HEADER = $(INSTALL_DATA)
 
30
transform = $(program_transform_name)
 
31
NORMAL_INSTALL = :
 
32
PRE_INSTALL = :
 
33
POST_INSTALL = :
 
34
NORMAL_UNINSTALL = :
 
35
PRE_UNINSTALL = :
 
36
POST_UNINSTALL = :
 
37
subdir = .
 
38
DIST_COMMON = README $(am__configure_deps) $(dist_bin_SCRIPTS) \
 
39
        $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 
40
        $(srcdir)/atool.1.in $(srcdir)/atool.spec.in \
 
41
        $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
 
42
        TODO build-aux/install-sh build-aux/missing
 
43
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
44
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
 
45
        $(top_srcdir)/configure.ac
 
46
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
47
        $(ACLOCAL_M4)
 
48
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 
49
 configure.lineno configure.status.lineno
 
50
mkinstalldirs = $(install_sh) -d
 
51
CONFIG_CLEAN_FILES = atool.1 atool.spec
 
52
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
 
53
dist_binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
 
54
SCRIPTS = $(dist_bin_SCRIPTS)
 
55
SOURCES =
 
56
DIST_SOURCES =
 
57
man1dir = $(mandir)/man1
 
58
NROFF = nroff
 
59
MANS = $(man_MANS)
 
60
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
61
distdir = $(PACKAGE)-$(VERSION)
 
62
top_distdir = $(distdir)
 
63
am__remove_distdir = \
 
64
  { test ! -d $(distdir) \
 
65
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
 
66
         && rm -fr $(distdir); }; }
 
67
DIST_ARCHIVES = $(distdir).tar.gz
 
68
GZIP_ENV = --best
 
69
distuninstallcheck_listfiles = find . -type f -print
 
70
distcleancheck_listfiles = find . -type f -print
 
71
ACLOCAL = @ACLOCAL@
 
72
AMTAR = @AMTAR@
 
73
AUTOCONF = @AUTOCONF@
 
74
AUTOHEADER = @AUTOHEADER@
 
75
AUTOMAKE = @AUTOMAKE@
 
76
AWK = @AWK@
 
77
CYGPATH_W = @CYGPATH_W@
 
78
DEFS = @DEFS@
 
79
ECHO_C = @ECHO_C@
 
80
ECHO_N = @ECHO_N@
 
81
ECHO_T = @ECHO_T@
 
82
INSTALL_DATA = @INSTALL_DATA@
 
83
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
84
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
85
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
86
LIBOBJS = @LIBOBJS@
 
87
LIBS = @LIBS@
 
88
LOCALSTATEDIR = @LOCALSTATEDIR@
 
89
LTLIBOBJS = @LTLIBOBJS@
 
90
MAKEINFO = @MAKEINFO@
 
91
PACKAGE = @PACKAGE@
 
92
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
93
PACKAGE_NAME = @PACKAGE_NAME@
 
94
PACKAGE_STRING = @PACKAGE_STRING@
 
95
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
96
PACKAGE_VERSION = @PACKAGE_VERSION@
 
97
PATH_SEPARATOR = @PATH_SEPARATOR@
 
98
PERL = @PERL@
 
99
PERL_SHEBANG = @PERL_SHEBANG@
 
100
PERL_SITELIB = @PERL_SITELIB@
 
101
SBINDIR = @SBINDIR@
 
102
SET_MAKE = @SET_MAKE@
 
103
SHELL = @SHELL@
 
104
STRIP = @STRIP@
 
105
SYSCONFDIR = @SYSCONFDIR@
 
106
VERSION = @VERSION@
 
107
am__leading_dot = @am__leading_dot@
 
108
am__tar = @am__tar@
 
109
am__untar = @am__untar@
 
110
bindir = @bindir@
 
111
build_alias = @build_alias@
 
112
datadir = @datadir@
 
113
datarootdir = @datarootdir@
 
114
docdir = @docdir@
 
115
dvidir = @dvidir@
8
116
exec_prefix = @exec_prefix@
9
 
 
10
 
# Path where the atool executables are installed
11
 
bindir = @bindir@
12
 
 
13
 
# Path where the atool manpages are installed
 
117
host_alias = @host_alias@
 
118
htmldir = @htmldir@
 
119
includedir = @includedir@
 
120
infodir = @infodir@
 
121
install_sh = @install_sh@
 
122
libdir = @libdir@
 
123
libexecdir = @libexecdir@
 
124
localedir = @localedir@
 
125
localstatedir = @localstatedir@
14
126
mandir = @mandir@
15
 
 
16
 
# Directory in archive created by `make dist'
17
 
distdir = @PACKAGE_TARNAME@-@PACKAGE_VERSION@
18
 
 
19
 
# Files created by the configure script
20
 
autoconf_targets = atool Makefile atool.1 atool.spec
21
 
 
22
 
.PHONY: all clean distclean maintclean install debian rpm
23
 
 
24
 
all: $(autoconf_targets)
25
 
 
26
 
$(autoconf_targets): %: $(srcdir)/%.in config.status
27
 
        ./config.status $@
28
 
 
29
 
$(srcdir)/configure: $(srcdir)/configure.ac
30
 
        cd $(srcdir) && autoconf
31
 
 
32
 
config.status: $(srcdir)/configure
33
 
        ./config.status --recheck
34
 
 
35
 
clean:
36
 
        rm -f $(srcdir)/debian/atool.{postinst.debhelper,prerm.debhelper}
37
 
        rm -f $(srcdir)/debian/{atool.substvars,files,substvars,build-stamp}
38
 
        rm -rf $(srcdir)/debian/atool
39
 
 
40
 
distclean: clean
41
 
        rm -f acat adiff als apack aunpack
42
 
        rm -f config.log Makefile
43
 
        rm -f atool atool.1 atool.spec
44
 
        rm -rf autom4te.cache
45
 
        rm -f config.status
46
 
 
47
 
maintclean: distclean
48
 
        rm -f $(srcdir)/configure
49
 
 
50
 
install: all
51
 
        install -d $(bindir)
52
 
        install -m 755 atool $(bindir)
53
 
        ln -s -f atool $(bindir)/aunpack
54
 
        ln -s -f atool $(bindir)/apack
55
 
        ln -s -f atool $(bindir)/acat
56
 
        ln -s -f atool $(bindir)/als
57
 
        ln -s -f atool $(bindir)/adiff
58
 
        install -d $(mandir)/man1
59
 
        install -m 644 atool.1 $(mandir)/man1
60
 
        ln -s -f atool.1 $(mandir)/man1/aunpack.1
61
 
        ln -s -f atool.1 $(mandir)/man1/apack.1
62
 
        ln -s -f atool.1 $(mandir)/man1/acat.1
63
 
        ln -s -f atool.1 $(mandir)/man1/als.1
64
 
        ln -s -f atool.1 $(mandir)/man1/adiff.1
65
 
 
66
 
dist:
67
 
        rm -rf $(distdir)
68
 
        mkdir -p $(distdir)
69
 
        cp -a $(srcdir)/{COPYING,ChangeLog,NEWS,README,TODO} $(distdir)
70
 
        cp -a $(srcdir)/{atool.1.in,atool.in,atool.spec.in} $(distdir)
71
 
        cp -a $(srcdir)/{Makefile.in,configure.ac,configure} $(distdir)
72
 
        mkdir -p $(distdir)/debian
73
 
        cp -a $(srcdir)/debian/{changelog,control,copyright,docs,rules} $(distdir)/debian
74
 
        chmod a-s $(distdir)
75
 
        fakeroot tar cvfz $(distdir).tar.gz $(distdir)
76
 
        rm -rf $(distdir)
 
127
mkdir_p = @mkdir_p@
 
128
oldincludedir = @oldincludedir@
 
129
pdfdir = @pdfdir@
 
130
prefix = @prefix@
 
131
program_transform_name = @program_transform_name@
 
132
psdir = @psdir@
 
133
sbindir = @sbindir@
 
134
sharedstatedir = @sharedstatedir@
 
135
sysconfdir = @sysconfdir@
 
136
target_alias = @target_alias@
 
137
ACLOCAL_AMFLAGS = -I m4
 
138
#SUBDIRS = doc etc
 
139
script_files = atool
 
140
script_stamp_files = $(script_files:%=.%-stamp)
 
141
script_old_files = $(script_files:%=.%-old)
 
142
man_MANS = $(PACKAGE).1
 
143
EXTRA_DIST = $(script_files) extra debian/changelog debian/control debian/copyright debian/rules $(man_MANS)
 
144
DISTCLEANFILES = $(script_stamp_files)
 
145
MAINTAINERCLEANFILES = $(script_old_files)
 
146
dist_bin_SCRIPTS = $(script_files)
 
147
all: all-am
 
148
 
 
149
.SUFFIXES:
 
150
am--refresh:
 
151
        @:
 
152
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
 
153
        @for dep in $?; do \
 
154
          case '$(am__configure_deps)' in \
 
155
            *$$dep*) \
 
156
              echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
 
157
              cd $(srcdir) && $(AUTOMAKE) --gnu  \
 
158
                && exit 0; \
 
159
              exit 1;; \
 
160
          esac; \
 
161
        done; \
 
162
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
 
163
        cd $(top_srcdir) && \
 
164
          $(AUTOMAKE) --gnu  Makefile
 
165
.PRECIOUS: Makefile
 
166
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
167
        @case '$?' in \
 
168
          *config.status*) \
 
169
            echo ' $(SHELL) ./config.status'; \
 
170
            $(SHELL) ./config.status;; \
 
171
          *) \
 
172
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
 
173
            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
 
174
        esac;
 
175
 
 
176
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
177
        $(SHELL) ./config.status --recheck
 
178
 
 
179
$(top_srcdir)/configure:  $(am__configure_deps)
 
180
        cd $(srcdir) && $(AUTOCONF)
 
181
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 
182
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
183
atool.1: $(top_builddir)/config.status $(srcdir)/atool.1.in
 
184
        cd $(top_builddir) && $(SHELL) ./config.status $@
 
185
atool.spec: $(top_builddir)/config.status $(srcdir)/atool.spec.in
 
186
        cd $(top_builddir) && $(SHELL) ./config.status $@
 
187
install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
 
188
        @$(NORMAL_INSTALL)
 
189
        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
 
190
        @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \
 
191
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 
192
          if test -f $$d$$p; then \
 
193
            f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
 
194
            echo " $(dist_binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
 
195
            $(dist_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
 
196
          else :; fi; \
 
197
        done
 
198
 
 
199
uninstall-dist_binSCRIPTS:
 
200
        @$(NORMAL_UNINSTALL)
 
201
        @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \
 
202
          f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
 
203
          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
 
204
          rm -f "$(DESTDIR)$(bindir)/$$f"; \
 
205
        done
 
206
uninstall-info-am:
 
207
install-man1: $(man1_MANS) $(man_MANS)
 
208
        @$(NORMAL_INSTALL)
 
209
        test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
 
210
        @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
 
211
        l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
 
212
        for i in $$l2; do \
 
213
          case "$$i" in \
 
214
            *.1*) list="$$list $$i" ;; \
 
215
          esac; \
 
216
        done; \
 
217
        for i in $$list; do \
 
218
          if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
 
219
          else file=$$i; fi; \
 
220
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
221
          case "$$ext" in \
 
222
            1*) ;; \
 
223
            *) ext='1' ;; \
 
224
          esac; \
 
225
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
226
          inst=`echo $$inst | sed -e 's/^.*\///'`; \
 
227
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
228
          echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
 
229
          $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
 
230
        done
 
231
uninstall-man1:
 
232
        @$(NORMAL_UNINSTALL)
 
233
        @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
 
234
        l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
 
235
        for i in $$l2; do \
 
236
          case "$$i" in \
 
237
            *.1*) list="$$list $$i" ;; \
 
238
          esac; \
 
239
        done; \
 
240
        for i in $$list; do \
 
241
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 
242
          case "$$ext" in \
 
243
            1*) ;; \
 
244
            *) ext='1' ;; \
 
245
          esac; \
 
246
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 
247
          inst=`echo $$inst | sed -e 's/^.*\///'`; \
 
248
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 
249
          echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
 
250
          rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
 
251
        done
 
252
tags: TAGS
 
253
TAGS:
 
254
 
 
255
ctags: CTAGS
 
256
CTAGS:
 
257
 
 
258
 
 
259
distdir: $(DISTFILES)
 
260
        $(am__remove_distdir)
 
261
        mkdir $(distdir)
 
262
        $(mkdir_p) $(distdir)/. $(distdir)/build-aux $(distdir)/debian $(distdir)/m4
 
263
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 
264
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 
265
        list='$(DISTFILES)'; for file in $$list; do \
 
266
          case $$file in \
 
267
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
268
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
269
          esac; \
 
270
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
271
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 
272
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 
273
            dir="/$$dir"; \
 
274
            $(mkdir_p) "$(distdir)$$dir"; \
 
275
          else \
 
276
            dir=''; \
 
277
          fi; \
 
278
          if test -d $$d/$$file; then \
 
279
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
280
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
281
            fi; \
 
282
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
283
          else \
 
284
            test -f $(distdir)/$$file \
 
285
            || cp -p $$d/$$file $(distdir)/$$file \
 
286
            || exit 1; \
 
287
          fi; \
 
288
        done
 
289
        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
 
290
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
 
291
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
 
292
          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
 
293
        || chmod -R a+r $(distdir)
 
294
dist-gzip: distdir
 
295
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
296
        $(am__remove_distdir)
 
297
 
 
298
dist-bzip2: distdir
 
299
        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
 
300
        $(am__remove_distdir)
 
301
 
 
302
dist-tarZ: distdir
 
303
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
 
304
        $(am__remove_distdir)
 
305
 
 
306
dist-shar: distdir
 
307
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
 
308
        $(am__remove_distdir)
 
309
 
 
310
dist-zip: distdir
 
311
        -rm -f $(distdir).zip
 
312
        zip -rq $(distdir).zip $(distdir)
 
313
        $(am__remove_distdir)
 
314
 
 
315
dist dist-all: distdir
 
316
        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
317
        $(am__remove_distdir)
 
318
 
 
319
# This target untars the dist file and tries a VPATH configuration.  Then
 
320
# it guarantees that the distribution is self-contained by making another
 
321
# tarfile.
 
322
distcheck: dist
 
323
        case '$(DIST_ARCHIVES)' in \
 
324
        *.tar.gz*) \
 
325
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
 
326
        *.tar.bz2*) \
 
327
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
 
328
        *.tar.Z*) \
 
329
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
 
330
        *.shar.gz*) \
 
331
          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
 
332
        *.zip*) \
 
333
          unzip $(distdir).zip ;;\
 
334
        esac
 
335
        chmod -R a-w $(distdir); chmod a+w $(distdir)
 
336
        mkdir $(distdir)/_build
 
337
        mkdir $(distdir)/_inst
 
338
        chmod a-w $(distdir)
 
339
        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
 
340
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
 
341
          && cd $(distdir)/_build \
 
342
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
 
343
            $(DISTCHECK_CONFIGURE_FLAGS) \
 
344
          && $(MAKE) $(AM_MAKEFLAGS) \
 
345
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
 
346
          && $(MAKE) $(AM_MAKEFLAGS) check \
 
347
          && $(MAKE) $(AM_MAKEFLAGS) install \
 
348
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
 
349
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
 
350
          && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
 
351
                distuninstallcheck \
 
352
          && chmod -R a-w "$$dc_install_base" \
 
353
          && ({ \
 
354
               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
 
355
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
 
356
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
 
357
               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
 
358
                    distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
 
359
              } || { rm -rf "$$dc_destdir"; exit 1; }) \
 
360
          && rm -rf "$$dc_destdir" \
 
361
          && $(MAKE) $(AM_MAKEFLAGS) dist \
 
362
          && rm -rf $(DIST_ARCHIVES) \
 
363
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
 
364
        $(am__remove_distdir)
 
365
        @(echo "$(distdir) archives ready for distribution: "; \
 
366
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
 
367
          sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
 
368
distuninstallcheck:
 
369
        @cd $(distuninstallcheck_dir) \
 
370
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
 
371
           || { echo "ERROR: files left after uninstall:" ; \
 
372
                if test -n "$(DESTDIR)"; then \
 
373
                  echo "  (check DESTDIR support)"; \
 
374
                fi ; \
 
375
                $(distuninstallcheck_listfiles) ; \
 
376
                exit 1; } >&2
 
377
distcleancheck: distclean
 
378
        @if test '$(srcdir)' = . ; then \
 
379
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
 
380
          exit 1 ; \
 
381
        fi
 
382
        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
 
383
          || { echo "ERROR: files left in build directory after distclean:" ; \
 
384
               $(distcleancheck_listfiles) ; \
 
385
               exit 1; } >&2
 
386
check-am: all-am
 
387
check: check-am
 
388
all-am: Makefile $(SCRIPTS) $(MANS) all-local
 
389
installdirs:
 
390
        for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
 
391
          test -z "$$dir" || $(mkdir_p) "$$dir"; \
 
392
        done
 
393
install: install-am
 
394
install-exec: install-exec-am
 
395
install-data: install-data-am
 
396
uninstall: uninstall-am
 
397
 
 
398
install-am: all-am
 
399
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
400
 
 
401
installcheck: installcheck-am
 
402
install-strip:
 
403
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
404
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
405
          `test -z '$(STRIP)' || \
 
406
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
407
mostlyclean-generic:
 
408
 
 
409
clean-generic:
 
410
 
 
411
distclean-generic:
 
412
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
413
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
414
 
 
415
maintainer-clean-generic:
 
416
        @echo "This command is intended for maintainers to use"
 
417
        @echo "it deletes files that may require special tools to rebuild."
 
418
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
 
419
clean: clean-am
 
420
 
 
421
clean-am: clean-generic mostlyclean-am
 
422
 
 
423
distclean: distclean-am
 
424
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
425
        -rm -f Makefile
 
426
distclean-am: clean-am distclean-generic
 
427
 
 
428
dvi: dvi-am
 
429
 
 
430
dvi-am:
 
431
 
 
432
html: html-am
 
433
 
 
434
info: info-am
 
435
 
 
436
info-am:
 
437
 
 
438
install-data-am: install-man
 
439
 
 
440
install-exec-am: install-dist_binSCRIPTS install-exec-local
 
441
 
 
442
install-info: install-info-am
 
443
 
 
444
install-man: install-man1
 
445
 
 
446
installcheck-am:
 
447
 
 
448
maintainer-clean: maintainer-clean-am
 
449
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
450
        -rm -rf $(top_srcdir)/autom4te.cache
 
451
        -rm -f Makefile
 
452
maintainer-clean-am: distclean-am maintainer-clean-generic
 
453
 
 
454
mostlyclean: mostlyclean-am
 
455
 
 
456
mostlyclean-am: mostlyclean-generic
 
457
 
 
458
pdf: pdf-am
 
459
 
 
460
pdf-am:
 
461
 
 
462
ps: ps-am
 
463
 
 
464
ps-am:
 
465
 
 
466
uninstall-am: uninstall-dist_binSCRIPTS uninstall-info-am \
 
467
        uninstall-local uninstall-man
 
468
 
 
469
uninstall-man: uninstall-man1
 
470
 
 
471
.PHONY: all all-am all-local am--refresh check check-am clean \
 
472
        clean-generic dist dist-all dist-bzip2 dist-gzip dist-shar \
 
473
        dist-tarZ dist-zip distcheck distclean distclean-generic \
 
474
        distcleancheck distdir distuninstallcheck dvi dvi-am html \
 
475
        html-am info info-am install install-am install-data \
 
476
        install-data-am install-dist_binSCRIPTS install-exec \
 
477
        install-exec-am install-exec-local install-info \
 
478
        install-info-am install-man install-man1 install-strip \
 
479
        installcheck installcheck-am installdirs maintainer-clean \
 
480
        maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
 
481
        pdf-am ps ps-am uninstall uninstall-am \
 
482
        uninstall-dist_binSCRIPTS uninstall-info-am uninstall-local \
 
483
        uninstall-man uninstall-man1
 
484
 
 
485
.PHONY: debian rpm
 
486
 
 
487
$(script_stamp_files): .%-stamp: % $(srcdir)/configure.ac
 
488
        touch $(notdir $<)
 
489
        sed -r "1~s|[^ ]*|$(PERL_SHEBANG)|;/^\\$$::SYSCONFDIR = /s|'.*'|'$(SYSCONFDIR)'|;/^\\$$::PACKAGE = /s/'.*'/'$(PACKAGE)'/;/^\\$$::VERSION = /s/'.*'/'$(PACKAGE_VERSION)'/;/^\\$$::BUG_EMAIL = /s/'.*'/'$(PACKAGE_BUGREPORT)'/" < $< > $(notdir $<.tmp) \
 
490
          && mv $(notdir $<) .$(notdir $<-old) \
 
491
          && mv $(notdir $<.tmp) $(notdir $<)
 
492
        chmod a+x $(notdir $<)
 
493
        touch $@
 
494
 
 
495
all-local: $(script_stamp_files)
77
496
 
78
497
debian:
79
498
        cd $(srcdir) && dpkg-buildpackage -rfakeroot -us -uc -sd -b
80
499
 
81
 
rpm: atool.spec
82
 
        rpm -bb --clean atool.spec
 
500
rpm: $(PACKAGE).spec
 
501
        rpmbuild -ba --clean $<
 
502
 
 
503
install-exec-local:
 
504
        mkdir -p $(DESTDIR)$(bindir)
 
505
        mkdir -p $(DESTDIR)$(mandir)/man1
 
506
        for f in aunpack arepack apack acat als adiff; do \
 
507
          ln -s -f atool $(DESTDIR)$(bindir)/$$f; \
 
508
          ln -s -f atool.1 $(DESTDIR)$(mandir)/man1/$$f.1; \
 
509
        done
 
510
 
 
511
uninstall-local:
 
512
        for f in aunpack arepack apack acat als adiff; do \
 
513
          if [ -L $(DESTDIR)$(bindir)/$$f ]; then \
 
514
            rm $(DESTDIR)$(bindir)/$$f; \
 
515
          fi; \
 
516
          if [ -L $(DESTDIR)$(mandir)/man1/$$f.1 ]; then \
 
517
            rm $(DESTDIR)$(mandir)/man1/$$f.1; \
 
518
          fi; \
 
519
        done
 
520
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
521
# Otherwise a system limit (for SysV at least) may be exceeded.
 
522
.NOEXPORT: