From: <the...@us...> - 2006-09-09 21:02:33
|
Revision: 17208 http://svn.sourceforge.net/gaim/?rev=17208&view=rev Author: thekingant Date: 2006-09-09 14:02:31 -0700 (Sat, 09 Sep 2006) Log Message: ----------- I copied parts of libgaim/plugins/perl/Makefile.am I have no idea if these changes are going to screw up the gtk perl stuff, but at least it doesn't break "make dist" Modified Paths: -------------- trunk/gtk/plugins/perl/Makefile.am trunk/gtk/plugins/perl/common/Makefile.PL.in Modified: trunk/gtk/plugins/perl/Makefile.am =================================================================== --- trunk/gtk/plugins/perl/Makefile.am 2006-09-09 20:56:28 UTC (rev 17207) +++ trunk/gtk/plugins/perl/Makefile.am 2006-09-09 21:02:31 UTC (rev 17208) @@ -1,4 +1,4 @@ -SUBDIRS = . common +perl_dirs = common common_sources = \ common/Gtk.pm \ @@ -36,14 +36,59 @@ common/Makefile.mingw \ $(common_sources) -all-local: common/Makefile - common/Makefile: common/Makefile.PL @cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS) common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am_depfiles_maybe) + 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 \ + $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ + fi && \ + ($(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS) || \ + $(MAKE) CC="$(CC)" CCFLAGS="$(PERL_CFLAGS) $(CFLAGS)" $(PERL_EXTRA_OPTS)) && \ + cd ..; \ + done + +install-exec-local: + @for dir in $(perl_dirs); do \ + cd $$dir; \ + $(MAKE) install; \ + cd ..; \ + done + +# Evil Hack (TM) +# ... which doesn't work with DESTDIR installs. FIXME? +uninstall-local: + @for dir in $(perl_dirs); do \ + cd $$dir && \ + `$(MAKE) uninstall | grep unlink | sed -e 's#/usr#${prefix}#' -e 's#unlink#rm -f#'` && \ + cd ..; \ + done + +clean-generic: + @for dir in $(perl_dirs); do \ + cd $$dir; \ + $(MAKE) clean; \ + cd ..; \ + done + rm -f *.so + +distclean-generic: + @for dir in $(perl_dirs); do \ + cd $$dir; \ + $(MAKE) realclean; \ + rm -f Makefile.PL; \ + rm -f Makefile.old; \ + rm -f Makefile; \ + cd ..; \ + done + + @rm -f Makefile + AM_CPPFLAGS = \ -DVERSION=\"$(VERSION)\" \ -I$(top_srcdir) \ Modified: trunk/gtk/plugins/perl/common/Makefile.PL.in =================================================================== --- trunk/gtk/plugins/perl/common/Makefile.PL.in 2006-09-09 20:56:28 UTC (rev 17207) +++ trunk/gtk/plugins/perl/common/Makefile.PL.in 2006-09-09 21:02:31 UTC (rev 17208) @@ -6,7 +6,7 @@ 'VERSION_FROM' => '@srcdir@/Gtk.pm', # finds $VERSION ($] >= 5.005 ? ## Add these new keywords supported since 5.005 ('ABSTRACT_FROM' => '@srcdir@/Gtk.pm', # finds $ABSTRACT - 'AUTHOR' => 'Etan Reisner <de...@gm...>') : ()), + 'AUTHOR' => 'Gaim <http://gaim.sourceforge.net/>') : ()), 'DEFINE' => '@DEBUG_CFLAGS@', 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libgaim -I@top_srcdir@/gtk @GTK_CFLAGS@', # 'PREREQ_PM' => { 'Gaim' => '@VERSION@'}, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |