~ubuntu-branches/ubuntu/karmic/sbuild/karmic-proposed

« back to all changes in this revision

Viewing changes to lib/Sbuild/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-09 16:06:44 UTC
  • mfrom: (8.1.6 upstream) (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090509160644-9k0fgp6c2ajcu54h
Tags: 0.58.2-1ubuntu1
* Merge from debian unstable, remaining changes:
  - bin/sbuild, lib/Sbuild/{Base,Conf,Options}.pm: add --setup-hook
    to allow pre-build modifications to underlying chroots (needed
    to adjust pockets and components in sources.list).  (debian bug
    500746).

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
CONFIG_CLEAN_FILES = Sysconfig.pm
86
86
SOURCES =
87
87
DIST_SOURCES =
 
88
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 
89
        html-recursive info-recursive install-data-recursive \
 
90
        install-dvi-recursive install-exec-recursive \
 
91
        install-html-recursive install-info-recursive \
 
92
        install-pdf-recursive install-ps-recursive install-recursive \
 
93
        installcheck-recursive installdirs-recursive pdf-recursive \
 
94
        ps-recursive uninstall-recursive
88
95
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
89
96
am__vpath_adj = case $$p in \
90
97
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
94
101
am__installdirs = "$(DESTDIR)$(perlmodsbuilddir)"
95
102
perlmodsbuildDATA_INSTALL = $(INSTALL_DATA)
96
103
DATA = $(perlmodsbuild_DATA)
 
104
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
 
105
  distclean-recursive maintainer-clean-recursive
 
106
ETAGS = etags
 
107
CTAGS = ctags
 
108
DIST_SUBDIRS = $(SUBDIRS)
97
109
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
98
110
ACLOCAL = @ACLOCAL@
99
111
AMTAR = @AMTAR@
 
112
APT_CACHE = @APT_CACHE@
 
113
APT_GET = @APT_GET@
100
114
AUTOCONF = @AUTOCONF@
101
115
AUTOHEADER = @AUTOHEADER@
102
116
AUTOMAKE = @AUTOMAKE@
103
117
AWK = @AWK@
104
118
BUILDD_CONF = @BUILDD_CONF@
105
119
BUILDD_SYSCONF_DIR = @BUILDD_SYSCONF_DIR@
106
 
CC = @CC@
107
 
CCDEPMODE = @CCDEPMODE@
108
 
CFLAGS = @CFLAGS@
109
 
CPPFLAGS = @CPPFLAGS@
 
120
CHMOD = @CHMOD@
110
121
CYGPATH_W = @CYGPATH_W@
 
122
DATE = @DATE@
 
123
DCMD = @DCMD@
111
124
DEFS = @DEFS@
112
 
DEPDIR = @DEPDIR@
 
125
DF = @DF@
 
126
DPKG = @DPKG@
 
127
DPKG_BUILDPACKAGE = @DPKG_BUILDPACKAGE@
 
128
DPKG_PARSECHANGELOG = @DPKG_PARSECHANGELOG@
 
129
DPKG_SOURCE = @DPKG_SOURCE@
 
130
DU = @DU@
113
131
ECHO_C = @ECHO_C@
114
132
ECHO_N = @ECHO_N@
115
133
ECHO_T = @ECHO_T@
116
 
EXEEXT = @EXEEXT@
 
134
FAKEROOT = @FAKEROOT@
117
135
FIND = @FIND@
 
136
GPG = @GPG@
 
137
HOSTNAME = @HOSTNAME@
118
138
INSTALL = @INSTALL@
119
139
INSTALL_DATA = @INSTALL_DATA@
120
140
INSTALL_PROGRAM = @INSTALL_PROGRAM@
121
141
INSTALL_SCRIPT = @INSTALL_SCRIPT@
122
142
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
123
 
LDFLAGS = @LDFLAGS@
124
143
LIBOBJS = @LIBOBJS@
125
144
LIBS = @LIBS@
126
145
LTLIBOBJS = @LTLIBOBJS@
127
146
MAINT = @MAINT@
128
147
MAKEINFO = @MAKEINFO@
 
148
MAN = @MAN@
 
149
MD5SUM = @MD5SUM@
129
150
MKDIR_P = @MKDIR_P@
130
 
OBJEXT = @OBJEXT@
131
151
PACKAGE = @PACKAGE@
132
152
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
133
153
PACKAGE_NAME = @PACKAGE_NAME@
136
156
PACKAGE_VERSION = @PACKAGE_VERSION@
137
157
PATH_SEPARATOR = @PATH_SEPARATOR@
138
158
PERL_MODULE_DIR = @PERL_MODULE_DIR@
 
159
PGP = @PGP@
 
160
PS = @PS@
139
161
RELEASE_DATE = @RELEASE_DATE@
 
162
RM = @RM@
140
163
SBUILD_CONF = @SBUILD_CONF@
141
164
SBUILD_LIBEXEC_DIR = @SBUILD_LIBEXEC_DIR@
142
165
SBUILD_MAJOR_VERSION = @SBUILD_MAJOR_VERSION@
144
167
SBUILD_MINOR_VERSION = @SBUILD_MINOR_VERSION@
145
168
SBUILD_SYSCONF_DIR = @SBUILD_SYSCONF_DIR@
146
169
SBUILD_VERSION = @SBUILD_VERSION@
 
170
SCHROOT = @SCHROOT@
147
171
SCHROOT_CONF = @SCHROOT_CONF@
148
172
SCHROOT_SYSCONF_DIR = @SCHROOT_SYSCONF_DIR@
 
173
SENDMAIL = @SENDMAIL@
149
174
SET_MAKE = @SET_MAKE@
150
175
SHELL = @SHELL@
151
176
STRIP = @STRIP@
 
177
SU = @SU@
 
178
SUDO = @SUDO@
 
179
TEMPFILE = @TEMPFILE@
152
180
VERSION = @VERSION@
153
 
WANNABUILD_LIBEXEC_DIR = @WANNABUILD_LIBEXEC_DIR@
154
181
WANNA_BUILD_CONF = @WANNA_BUILD_CONF@
 
182
WANNA_BUILD_LIBEXEC_DIR = @WANNA_BUILD_LIBEXEC_DIR@
155
183
XARGS = @XARGS@
156
184
abs_builddir = @abs_builddir@
157
185
abs_srcdir = @abs_srcdir@
158
186
abs_top_builddir = @abs_top_builddir@
159
187
abs_top_srcdir = @abs_top_srcdir@
160
 
ac_ct_CC = @ac_ct_CC@
161
 
am__include = @am__include@
162
188
am__leading_dot = @am__leading_dot@
163
 
am__quote = @am__quote@
164
189
am__tar = @am__tar@
165
190
am__untar = @am__untar@
166
191
bindir = @bindir@
192
217
srcdir = @srcdir@
193
218
sysconfdir = @sysconfdir@
194
219
target_alias = @target_alias@
 
220
top_build_prefix = @top_build_prefix@
195
221
top_builddir = @top_builddir@
196
222
top_srcdir = @top_srcdir@
197
223
 
198
224
# Global options for use in all Makefiles.
199
225
perlmoddir = $(PERL_MODULE_DIR)
 
226
SUBDIRS = DB
200
227
perlmodsbuilddir = $(perlmoddir)/Sbuild
201
228
MODULES = \
202
 
        Build.pm        \
203
 
        Chroot.pm       \
204
 
        ChrootInfo.pm   \
205
 
        Conf.pm         \
206
 
        Log.pm          \
207
 
        Options.pm      \
 
229
        Base.pm                 \
 
230
        Build.pm                \
 
231
        Chroot.pm               \
 
232
        ChrootPlain.pm          \
 
233
        ChrootRoot.pm           \
 
234
        ChrootSchroot.pm        \
 
235
        ChrootSudo.pm           \
 
236
        ChrootInfo.pm           \
 
237
        ChrootInfoSchroot.pm    \
 
238
        ChrootInfoSudo.pm       \
 
239
        Conf.pm                 \
 
240
        ConfBase.pm             \
 
241
        Log.pm                  \
 
242
        Options.pm              \
208
243
        Utility.pm
209
244
 
210
245
perlmodsbuild_DATA = \
214
249
EXTRA_DIST = \
215
250
        $(MODULES)
216
251
 
217
 
all: all-am
 
252
all: all-recursive
218
253
 
219
254
.SUFFIXES:
220
255
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/scripts/global.mk $(am__configure_deps)
265
300
          echo " rm -f '$(DESTDIR)$(perlmodsbuilddir)/$$f'"; \
266
301
          rm -f "$(DESTDIR)$(perlmodsbuilddir)/$$f"; \
267
302
        done
 
303
 
 
304
# This directory's subdirectories are mostly independent; you can cd
 
305
# into them and run `make' without going through this Makefile.
 
306
# To change the values of `make' variables: instead of editing Makefiles,
 
307
# (1) if the variable is set in `config.status', edit `config.status'
 
308
#     (which will cause the Makefiles to be regenerated when you run `make');
 
309
# (2) otherwise, pass the desired values on the `make' command line.
 
310
$(RECURSIVE_TARGETS):
 
311
        @failcom='exit 1'; \
 
312
        for f in x $$MAKEFLAGS; do \
 
313
          case $$f in \
 
314
            *=* | --[!k]*);; \
 
315
            *k*) failcom='fail=yes';; \
 
316
          esac; \
 
317
        done; \
 
318
        dot_seen=no; \
 
319
        target=`echo $@ | sed s/-recursive//`; \
 
320
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
321
          echo "Making $$target in $$subdir"; \
 
322
          if test "$$subdir" = "."; then \
 
323
            dot_seen=yes; \
 
324
            local_target="$$target-am"; \
 
325
          else \
 
326
            local_target="$$target"; \
 
327
          fi; \
 
328
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
329
          || eval $$failcom; \
 
330
        done; \
 
331
        if test "$$dot_seen" = "no"; then \
 
332
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
333
        fi; test -z "$$fail"
 
334
 
 
335
$(RECURSIVE_CLEAN_TARGETS):
 
336
        @failcom='exit 1'; \
 
337
        for f in x $$MAKEFLAGS; do \
 
338
          case $$f in \
 
339
            *=* | --[!k]*);; \
 
340
            *k*) failcom='fail=yes';; \
 
341
          esac; \
 
342
        done; \
 
343
        dot_seen=no; \
 
344
        case "$@" in \
 
345
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
346
          *) list='$(SUBDIRS)' ;; \
 
347
        esac; \
 
348
        rev=''; for subdir in $$list; do \
 
349
          if test "$$subdir" = "."; then :; else \
 
350
            rev="$$subdir $$rev"; \
 
351
          fi; \
 
352
        done; \
 
353
        rev="$$rev ."; \
 
354
        target=`echo $@ | sed s/-recursive//`; \
 
355
        for subdir in $$rev; do \
 
356
          echo "Making $$target in $$subdir"; \
 
357
          if test "$$subdir" = "."; then \
 
358
            local_target="$$target-am"; \
 
359
          else \
 
360
            local_target="$$target"; \
 
361
          fi; \
 
362
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
363
          || eval $$failcom; \
 
364
        done && test -z "$$fail"
 
365
tags-recursive:
 
366
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
367
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
368
        done
 
369
ctags-recursive:
 
370
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
371
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 
372
        done
 
373
 
 
374
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 
375
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 
376
        unique=`for i in $$list; do \
 
377
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
378
          done | \
 
379
          $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
 
380
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
381
        mkid -fID $$unique
268
382
tags: TAGS
269
 
TAGS:
270
383
 
 
384
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
385
                $(TAGS_FILES) $(LISP)
 
386
        tags=; \
 
387
        here=`pwd`; \
 
388
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 
389
          include_option=--etags-include; \
 
390
          empty_fix=.; \
 
391
        else \
 
392
          include_option=--include; \
 
393
          empty_fix=; \
 
394
        fi; \
 
395
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
396
          if test "$$subdir" = .; then :; else \
 
397
            test ! -f $$subdir/TAGS || \
 
398
              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
 
399
          fi; \
 
400
        done; \
 
401
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
402
        unique=`for i in $$list; do \
 
403
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
404
          done | \
 
405
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
406
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
407
        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
 
408
          test -n "$$unique" || unique=$$empty_fix; \
 
409
          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
410
            $$tags $$unique; \
 
411
        fi
271
412
ctags: CTAGS
272
 
CTAGS:
273
 
 
 
413
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
414
                $(TAGS_FILES) $(LISP)
 
415
        tags=; \
 
416
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
417
        unique=`for i in $$list; do \
 
418
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
419
          done | \
 
420
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
421
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
422
        test -z "$(CTAGS_ARGS)$$tags$$unique" \
 
423
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
 
424
             $$tags $$unique
 
425
 
 
426
GTAGS:
 
427
        here=`$(am__cd) $(top_builddir) && pwd` \
 
428
          && cd $(top_srcdir) \
 
429
          && gtags -i $(GTAGS_ARGS) $$here
 
430
 
 
431
distclean-tags:
 
432
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
274
433
 
275
434
distdir: $(DISTFILES)
276
435
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
298
457
            || exit 1; \
299
458
          fi; \
300
459
        done
 
460
        list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 
461
          if test "$$subdir" = .; then :; else \
 
462
            test -d "$(distdir)/$$subdir" \
 
463
            || $(MKDIR_P) "$(distdir)/$$subdir" \
 
464
            || exit 1; \
 
465
            distdir=`$(am__cd) $(distdir) && pwd`; \
 
466
            top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
 
467
            (cd $$subdir && \
 
468
              $(MAKE) $(AM_MAKEFLAGS) \
 
469
                top_distdir="$$top_distdir" \
 
470
                distdir="$$distdir/$$subdir" \
 
471
                am__remove_distdir=: \
 
472
                am__skip_length_check=: \
 
473
                distdir) \
 
474
              || exit 1; \
 
475
          fi; \
 
476
        done
301
477
check-am: all-am
302
 
check: check-am
 
478
check: check-recursive
303
479
all-am: Makefile $(DATA)
304
 
installdirs:
 
480
installdirs: installdirs-recursive
 
481
installdirs-am:
305
482
        for dir in "$(DESTDIR)$(perlmodsbuilddir)"; do \
306
483
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
307
484
        done
308
 
install: install-am
309
 
install-exec: install-exec-am
310
 
install-data: install-data-am
311
 
uninstall: uninstall-am
 
485
install: install-recursive
 
486
install-exec: install-exec-recursive
 
487
install-data: install-data-recursive
 
488
uninstall: uninstall-recursive
312
489
 
313
490
install-am: all-am
314
491
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
315
492
 
316
 
installcheck: installcheck-am
 
493
installcheck: installcheck-recursive
317
494
install-strip:
318
495
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
319
496
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
329
506
maintainer-clean-generic:
330
507
        @echo "This command is intended for maintainers to use"
331
508
        @echo "it deletes files that may require special tools to rebuild."
332
 
clean: clean-am
 
509
clean: clean-recursive
333
510
 
334
511
clean-am: clean-generic mostlyclean-am
335
512
 
336
 
distclean: distclean-am
 
513
distclean: distclean-recursive
337
514
        -rm -f Makefile
338
 
distclean-am: clean-am distclean-generic
 
515
distclean-am: clean-am distclean-generic distclean-tags
339
516
 
340
 
dvi: dvi-am
 
517
dvi: dvi-recursive
341
518
 
342
519
dvi-am:
343
520
 
344
 
html: html-am
 
521
html: html-recursive
345
522
 
346
 
info: info-am
 
523
info: info-recursive
347
524
 
348
525
info-am:
349
526
 
350
527
install-data-am: install-perlmodsbuildDATA
351
528
 
352
 
install-dvi: install-dvi-am
 
529
install-dvi: install-dvi-recursive
353
530
 
354
531
install-exec-am:
355
532
 
356
 
install-html: install-html-am
 
533
install-html: install-html-recursive
357
534
 
358
 
install-info: install-info-am
 
535
install-info: install-info-recursive
359
536
 
360
537
install-man:
361
538
 
362
 
install-pdf: install-pdf-am
 
539
install-pdf: install-pdf-recursive
363
540
 
364
 
install-ps: install-ps-am
 
541
install-ps: install-ps-recursive
365
542
 
366
543
installcheck-am:
367
544
 
368
 
maintainer-clean: maintainer-clean-am
 
545
maintainer-clean: maintainer-clean-recursive
369
546
        -rm -f Makefile
370
547
maintainer-clean-am: distclean-am maintainer-clean-generic
371
548
 
372
 
mostlyclean: mostlyclean-am
 
549
mostlyclean: mostlyclean-recursive
373
550
 
374
551
mostlyclean-am: mostlyclean-generic
375
552
 
376
 
pdf: pdf-am
 
553
pdf: pdf-recursive
377
554
 
378
555
pdf-am:
379
556
 
380
 
ps: ps-am
 
557
ps: ps-recursive
381
558
 
382
559
ps-am:
383
560
 
384
561
uninstall-am: uninstall-perlmodsbuildDATA
385
562
 
386
 
.MAKE: install-am install-strip
 
563
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
 
564
        install-strip
387
565
 
388
 
.PHONY: all all-am check check-am clean clean-generic distclean \
389
 
        distclean-generic distdir dvi dvi-am html html-am info info-am \
390
 
        install install-am install-data install-data-am install-dvi \
 
566
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
 
567
        all all-am check check-am clean clean-generic ctags \
 
568
        ctags-recursive distclean distclean-generic distclean-tags \
 
569
        distdir dvi dvi-am html html-am info info-am install \
 
570
        install-am install-data install-data-am install-dvi \
391
571
        install-dvi-am install-exec install-exec-am install-html \
392
572
        install-html-am install-info install-info-am install-man \
393
573
        install-pdf install-pdf-am install-perlmodsbuildDATA \
394
574
        install-ps install-ps-am install-strip installcheck \
395
 
        installcheck-am installdirs maintainer-clean \
 
575
        installcheck-am installdirs installdirs-am maintainer-clean \
396
576
        maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
397
 
        pdf-am ps ps-am uninstall uninstall-am \
 
577
        pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
398
578
        uninstall-perlmodsbuildDATA
399
579
 
400
580
# Tell versions [3.59,3.63) of GNU make to not export all variables.