changeset 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 c3388f361bdf
children 7f5f57dd5cac
files plugins/perl/Makefile.am
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/Makefile.am	Sat Aug 23 23:06:07 2003 +0000
+++ b/plugins/perl/Makefile.am	Sat Aug 23 23:09:14 2003 +0000
@@ -48,7 +48,13 @@
 	Makefile.mingw \
 	$(common_sources)
 
-all-local:
+common/Makefile: common/Makefile.PL
+	cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
+
+common/Makefile.PL: common/Makefile.PL.in $(top_srcdir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+all-local: common/Makefile
 	@for dir in $(perl_dirs); do \
 		cd $$dir && \
 		if [ ! -f Makefile ]; then \