[gaim-migrate @ 7109]

Sat, 23 Aug 2003 23:09:14 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Sat, 23 Aug 2003 23:09:14 +0000
changeset 6587
8ff464fb8b9c
parent 6586
de66e971fa46
child 6588
187c6026c574

[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.

plugins/perl/Makefile.am file | annotate | diff | comparison | revisions
--- 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 \

mercurial