diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-10 14:01:25 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-10 14:01:25 +0000 |
commit | aaeea771c223fd94d01db3987764d7787e35e77c (patch) | |
tree | 422a1902e12143815aaa8fcf8e0a471b9fe8de7b /src/perl | |
parent | ce41d6b18ac58803d58dbdf3e674e02691dd65e6 (diff) | |
download | irssi-aaeea771c223fd94d01db3987764d7787e35e77c.zip |
all subdirs are now specified in "perl_dirs" so it's easier to add/remove
directories.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2416 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/Makefile.am | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am index 5a33fec1..35118ba1 100644 --- a/src/perl/Makefile.am +++ b/src/perl/Makefile.am @@ -2,6 +2,8 @@ LIBTOOL = $(PERL_LIBTOOL) moduledir = $(libdir)/irssi/modules +perl_dirs = common irc ui textui + module_LTLIBRARIES = $(perl_module_lib) $(perl_module_fe_lib) noinst_LTLIBRARIES = $(perl_static_lib) $(perl_static_fe_lib) EXTRA_LTLIBRARIES = \ @@ -133,7 +135,7 @@ EXTRA_DIST = \ $(textui_sources) all-local: - for dir in common irc ui textui; do \ + for dir in $(perl_dirs); do \ cd $$dir && \ if [ ! -f Makefile ]; then \ $(perlpath) Makefile.PL $(PERL_MM_PARAMS); \ @@ -143,17 +145,18 @@ all-local: done install-exec-local: - for dir in common irc ui textui; do \ + for dir in $(perl_dirs); do \ cd $$dir && $(MAKE) install && cd ..; \ done clean-generic: - rm -f common/Makefile irc/Makefile ui/Makefile textui/Makefile + for dir in $(perl_dirs); do rm -f $$dir/Makefile; done distclean-generic: - -(cd common && $(MAKE) realclean && rm -f Makefile.PL) - -(cd irc && $(MAKE) realclean && rm -f Makefile.PL) - -(cd ui && $(MAKE) realclean && rm -f Makefile.PL) - -(cd textui && $(MAKE) realclean && rm -f Makefile.PL) + for dir in $(perl_dirs); do \ + cd $$dir; \ + $(MAKE) realclean; rm -f Makefile.PL; \ + cd ..; \ + done libperl_core_la_LIBADD = $(PERL_LDFLAGS) |