org.guifications.plugins.buildsystem_rewrite: bb213ab0dd13c157983c938e87543dd046926b21
grim at guifications.org
grim at guifications.org
Sun Apr 20 22:25:08 CDT 2008
-----------------------------------------------------------------
Revision: bb213ab0dd13c157983c938e87543dd046926b21
Ancestor: 7509f23a73e0056f2eaffcf41a1a7d855c8e36a1
Author: grim at guifications.org
Date: 2008-04-21T03:21:11
Branch: org.guifications.plugins.buildsystem_rewrite
Modified files:
configure.ac
ChangeLog:
*FINALLY* the need to manually update configure.ac when adding a new plugin has been removed!
-----------------------------------------------------------------
This revision's diffstat output:
configure.ac | 82 ++++++++++++++++-------------------------------------------
1 file changed, 23 insertions(+), 59 deletions(-)
-------------- next part --------------
============================================================
--- configure.ac c381cf0e2439bb021ab5c9a1745dc2e210626880
+++ configure.ac 0d36106c62417864129cd1d4b1c05ff2f507442f
@@ -331,70 +331,34 @@ AC_PATH_PROG([PYTHON], [python], [no])
dnl #######################################################################
AC_PATH_PROG([PYTHON], [python], [no])
-PP_DIST_DIRS="`$srcdir/plugin_pack.py -D`"
+PP_DIST_DIRS="`$srcdir/plugin_pack.py dist_dirs`"
AC_SUBST(PP_DIST_DIRS)
+PP_DIST_MAKE=""
+for dir in $PP_DIST_DIRS
+do
+ PP_DIST_MAKE="$PP_DIST_MAKE $dir/Makefile"
+done
+
dnl #######################################################################
dnl # Finish up
dnl #######################################################################
-AC_OUTPUT([
- Makefile
- common/Makefile
- doc/Makefile
- po/Makefile.in
- VERSION
- plugin_pack.spec
- album/Makefile
- autoprofile/Makefile
- autoreply/Makefile
- awaynotify/Makefile
- bash/Makefile
- bit/Makefile
- blistops/Makefile
- buddytime/Makefile
- chronic/Makefile
- colorize/Makefile
- convbadger/Makefile
- dewysiwygification/Makefile
- dice/Makefile
- difftopic/Makefile
- eight_ball/Makefile
- enhancedhist/Makefile
- findip/Makefile
- flip/Makefile
- google/Makefile
- gRIM/Makefile
- groupmsg/Makefile
- hideconv/Makefile
- highlight/Makefile
- ignorance/Makefile
- ignore/Makefile
- infopane/Makefile
- irc-more/Makefile
- irchelper/Makefile
- irssi/Makefile
- lastseen/Makefile
- listhandler/Makefile
- mystatusbox/Makefile
- napster/Makefile
- nicksaid/Makefile
- oldlogger/Makefile
- plonkers/Makefile
- schedule/Makefile
- sepandtab/Makefile
- showoffline/Makefile
- simfix/Makefile
- slashexec/Makefile
- snpp/Makefile
- splitter/Makefile
- sslinfo/Makefile
- stocker/Makefile
- switchspell/Makefile
- talkfilters/Makefile
- timelog/Makefile
- xchat-chats/Makefile
- xmmsremote/Makefile
- xmmsremote/pixmaps/Makefile
+dnl # This is a hack to have a dynamically generated list of files for
+dnl # AC_OUTPUT. AC_OUTPUT still needs to be called, but as long as this
+dnl # is tweaked before hand everything is fine.
+dnl #
+dnl # So to make this work, we call AC_OUTPUT with our static config files
+dnl # after we've updated ac_config_files to have our dynamic list, we do
+dnl # our normal AC_OUTPUT and all is well.
+dnl #######################################################################
+ac_config_files="$ac_config_files ${PP_DIST_MAKE}"
+
+AC_OUTPUT([Makefile
+ common/Makefile
+ doc/Makefile
+ po/Makefile.in
+ VERSION
+ plugin_pack.spec
])
dnl #######################################################################
More information about the Plugins-commits
mailing list