Ticket #50421: patch-Makefile.am.diff

File patch-Makefile.am.diff, 6.5 KB (added by akkornel (A. Karl Kornel), 8 years ago)

Updated Makefile patch, based on what got committed upstream

  • Makefile.am

    old new PERL_DIRECTORIES = perl perl/lib perl/lib/Wallet perl/lib/Wallet/ACL \ 
    100100        perl/t/policy perl/t/style perl/t/util perl/t/verifier
    101101
    102102ACLOCAL_AMFLAGS = -I m4
    103 EXTRA_DIST = .gitignore .travis.yml LICENSE autogen client/wallet.pod       \
    104         client/wallet-rekey.pod config/allow-extract config/keytab          \
    105         config/keytab.acl config/wallet config/wallet-report.acl            \
    106         docs/design contrib/README contrib/commerzbank/wallet-history       \
    107         contrib/convert-srvtab-db contrib/used-principals                   \
    108         contrib/wallet-contacts contrib/wallet-rekey-periodic               \
    109         contrib/wallet-rekey-periodic.8 contrib/wallet-summary              \
    110         contrib/wallet-summary.8 contrib/wallet-unknown-hosts               \
    111         contrib/wallet-unknown-hosts.8 docs/design-acl docs/design-api      \
    112         docs/netdb-role-api docs/notes docs/objects-and-schemes docs/setup  \
    113         docs/stanford-naming examples/stanford.conf tests/HOWTO tests/TESTS \
    114         tests/config/README tests/data/allow-extract tests/data/basic.conf  \
    115         tests/data/cmd-fake tests/data/cmd-wrapper tests/data/fake-data     \
    116         tests/data/fake-kadmin tests/data/fake-keytab                       \
    117         tests/data/fake-keytab-2 tests/data/fake-keytab-foreign             \
    118         tests/data/fake-keytab-merge tests/data/fake-keytab-old             \
    119         tests/data/fake-keytab-partial                                      \
    120         tests/data/fake-keytab-partial-result tests/data/fake-keytab-rekey  \
    121         tests/data/fake-keytab-unknown tests/data/fake-srvtab               \
    122         tests/data/full.conf tests/data/perl.conf tests/data/wallet.conf    \
    123         tests/docs/pod-spelling-t tests/docs/pod-t                          \
    124         tests/perl/minimum-version-t tests/perl/module-version-t            \
    125         tests/perl/strict-t tests/server/admin-t tests/server/backend-t     \
    126         tests/server/keytab-t tests/server/report-t tests/tap/kerberos.sh   \
    127         tests/tap/libtap.sh tests/tap/perl/Test/RRA.pm                      \
    128         tests/tap/perl/Test/RRA/Automake.pm                                 \
    129         tests/tap/perl/Test/RRA/Config.pm                                   \
    130         tests/tap/perl/Test/RRA/ModuleVersion.pm tests/tap/remctl.sh        \
     103EXTRA_DIST = .gitignore .travis.yml LICENSE autogen client/wallet.pod      \
     104        client/wallet-rekey.pod config/allow-extract config/keytab         \
     105        config/keytab.acl config/wallet config/wallet-report.acl           \
     106        docs/design contrib/README contrib/commerzbank/wallet-history      \
     107        contrib/convert-srvtab-db contrib/used-principals                  \
     108        contrib/wallet-contacts contrib/wallet-rekey-periodic              \
     109        contrib/wallet-rekey-periodic.8 contrib/wallet-summary             \
     110        contrib/wallet-summary.8 contrib/wallet-unknown-hosts              \
     111        contrib/wallet-unknown-hosts.8 docs/design-acl docs/design-api     \
     112        docs/netdb-role-api docs/notes docs/objects-and-schemes docs/setup \
     113        docs/stanford-naming examples/stanford.conf                        \
     114        server/keytab-backend.in server/wallet-admin.in                    \
     115        server/wallet-backend.in server/wallet-report.in tests/HOWTO       \
     116        tests/TESTS tests/config/README tests/data/allow-extract           \
     117        tests/data/basic.conf tests/data/cmd-fake tests/data/cmd-wrapper   \
     118        tests/data/fake-data tests/data/fake-kadmin tests/data/fake-keytab \
     119        tests/data/fake-keytab-2 tests/data/fake-keytab-foreign            \
     120        tests/data/fake-keytab-merge tests/data/fake-keytab-old            \
     121        tests/data/fake-keytab-partial                                     \
     122        tests/data/fake-keytab-partial-result tests/data/fake-keytab-rekey \
     123        tests/data/fake-keytab-unknown tests/data/fake-srvtab              \
     124        tests/data/full.conf tests/data/perl.conf tests/data/wallet.conf   \
     125        tests/docs/pod-spelling-t tests/docs/pod-t                         \
     126        tests/perl/minimum-version-t tests/perl/module-version-t           \
     127        tests/perl/strict-t tests/server/admin-t tests/server/backend-t    \
     128        tests/server/keytab-t tests/server/report-t tests/tap/kerberos.sh  \
     129        tests/tap/libtap.sh tests/tap/perl/Test/RRA.pm                     \
     130        tests/tap/perl/Test/RRA/Automake.pm                                \
     131        tests/tap/perl/Test/RRA/Config.pm                                  \
     132        tests/tap/perl/Test/RRA/ModuleVersion.pm tests/tap/remctl.sh       \
    131133        tests/util/xmalloc-t $(PERL_FILES)
    132134
    133135# Supporting convenience libraries used by other targets.
    client_libwallet_a_CPPFLAGS = $(REMCTL_CPPFLAGS) $(KRB5_CPPFLAGS) 
    150152
    151153# The client and server programs.
    152154bin_PROGRAMS = client/wallet client/wallet-rekey
    153 dist_sbin_SCRIPTS = server/keytab-backend server/wallet-admin \
     155sbin_SCRIPTS = server/keytab-backend server/wallet-admin \
    154156        server/wallet-backend server/wallet-report
    155157client_wallet_CPPFLAGS = $(REMCTL_CPPFLAGS) $(KRB5_CPPFLAGS)
    156158client_wallet_LDFLAGS = $(REMCTL_LDFLAGS) $(KRB5_LDFLAGS)
    warnings: 
    209211            KRB5_CPPFLAGS='$(KRB5_CPPFLAGS_GCC)' $(check_PROGRAMS)
    210212
    211213# Remove some additional files.
    212 CLEANFILES = perl/t/lib/Test/RRA.pm perl/t/lib/Test/RRA/Automake.pm \
    213         perl/t/lib/Test/RRA/Config.pm
     214CLEANFILES = perl/t/lib/Test/RRA.pm perl/t/lib/Test/RRA/Automake.pm     \
     215        perl/t/lib/Test/RRA/Config.pm server/keytab-backend             \
     216        server/wallet-admin server/wallet-backend server/wallet-report
    214217MAINTAINERCLEANFILES = Makefile.in aclocal.m4 build-aux/compile              \
    215218        build-aux/depcomp build-aux/install-sh build-aux/missing             \
    216219        client/wallet.1 config.h.in config.h.in~ configure                   \
    217220        contrib/wallet-report.8 server/keytab-backend.8                      \
    218221        server/wallet-admin.8 server/wallet-backend.8 server/wallet-report.8
    219222
     223# For each of the Perl scripts, we need to fill in the path to the Perl
     224# binary that was located during configuration.
     225server/keytab-backend: $(srcdir)/server/keytab-backend.in Makefile
     226        sed 's|@PERL@|$(PERL)|' <$(srcdir)/server/keytab-backend.in >$@
     227        chmod a+x $@
     228server/wallet-admin: $(srcdir)/server/wallet-admin.in Makefile
     229        sed 's|@PERL@|$(PERL)|' <$(srcdir)/server/wallet-admin.in >$@
     230        chmod a+x $@
     231server/wallet-backend: $(srcdir)/server/wallet-backend.in Makefile
     232        sed 's|@PERL@|$(PERL)|' <$(srcdir)/server/wallet-backend.in >$@
     233        chmod a+x $@
     234server/wallet-report: $(srcdir)/server/wallet-report.in Makefile
     235        sed 's|@PERL@|$(PERL)|' <$(srcdir)/server/wallet-report.in >$@
     236        chmod a+x $@
     237
    220238# Take appropriate actions in the Perl directory as well.  We don't want to
    221239# always build the Perl directory in all-local, since otherwise Automake does
    222240# this for every target, which overrides some hacks we have to do for Debian
    perl/blib/lib/Wallet/Config.pm: $(srcdir)/perl/lib/Wallet/Config.pm 
    236254        $(INSTALL_DATA) $(srcdir)/tests/tap/perl/Test/RRA.pm perl/t/lib/Test/
    237255        $(INSTALL_DATA) $(srcdir)/tests/tap/perl/Test/RRA/Config.pm \
    238256            perl/t/lib/Test/RRA/
    239         cd perl && perl Build.PL $(WALLET_PERL_FLAGS)
     257        cd perl && $(PERL) Build.PL $(WALLET_PERL_FLAGS)
    240258        cd perl && ./Build
    241259
    242260# This is a really ugly hack to only honor prefix when running make install