comparison plugins/perl/Makefile.am @ 6587:ed11e3f8ba21

[gaim-migrate @ 7109] Added some nice code that auto-generates perl/common/Makefile.PL from Makefile.PL.in when Makefile.PL.in changes, and then generates Makefile from Makefile.PL. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 23 Aug 2003 23:09:14 +0000
parents a621e2c6c713
children bfe961b7f58e
comparison
equal deleted inserted replaced
6586:c3388f361bdf 6587:ed11e3f8ba21
46 46
47 EXTRA_DIST = \ 47 EXTRA_DIST = \
48 Makefile.mingw \ 48 Makefile.mingw \
49 $(common_sources) 49 $(common_sources)
50 50
51 all-local: 51 common/Makefile: common/Makefile.PL
52 cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
53
54 common/Makefile.PL: common/Makefile.PL.in $(top_srcdir)/config.status
55 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
56
57 all-local: common/Makefile
52 @for dir in $(perl_dirs); do \ 58 @for dir in $(perl_dirs); do \
53 cd $$dir && \ 59 cd $$dir && \
54 if [ ! -f Makefile ]; then \ 60 if [ ! -f Makefile ]; then \
55 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ 61 $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
56 fi && \ 62 fi && \