mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
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
This commit is contained in:
parent
ce41d6b18a
commit
aaeea771c2
@ -2,6 +2,8 @@ LIBTOOL = $(PERL_LIBTOOL)
|
|||||||
|
|
||||||
moduledir = $(libdir)/irssi/modules
|
moduledir = $(libdir)/irssi/modules
|
||||||
|
|
||||||
|
perl_dirs = common irc ui textui
|
||||||
|
|
||||||
module_LTLIBRARIES = $(perl_module_lib) $(perl_module_fe_lib)
|
module_LTLIBRARIES = $(perl_module_lib) $(perl_module_fe_lib)
|
||||||
noinst_LTLIBRARIES = $(perl_static_lib) $(perl_static_fe_lib)
|
noinst_LTLIBRARIES = $(perl_static_lib) $(perl_static_fe_lib)
|
||||||
EXTRA_LTLIBRARIES = \
|
EXTRA_LTLIBRARIES = \
|
||||||
@ -133,7 +135,7 @@ EXTRA_DIST = \
|
|||||||
$(textui_sources)
|
$(textui_sources)
|
||||||
|
|
||||||
all-local:
|
all-local:
|
||||||
for dir in common irc ui textui; do \
|
for dir in $(perl_dirs); do \
|
||||||
cd $$dir && \
|
cd $$dir && \
|
||||||
if [ ! -f Makefile ]; then \
|
if [ ! -f Makefile ]; then \
|
||||||
$(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
|
$(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
|
||||||
@ -143,17 +145,18 @@ all-local:
|
|||||||
done
|
done
|
||||||
|
|
||||||
install-exec-local:
|
install-exec-local:
|
||||||
for dir in common irc ui textui; do \
|
for dir in $(perl_dirs); do \
|
||||||
cd $$dir && $(MAKE) install && cd ..; \
|
cd $$dir && $(MAKE) install && cd ..; \
|
||||||
done
|
done
|
||||||
|
|
||||||
clean-generic:
|
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:
|
distclean-generic:
|
||||||
-(cd common && $(MAKE) realclean && rm -f Makefile.PL)
|
for dir in $(perl_dirs); do \
|
||||||
-(cd irc && $(MAKE) realclean && rm -f Makefile.PL)
|
cd $$dir; \
|
||||||
-(cd ui && $(MAKE) realclean && rm -f Makefile.PL)
|
$(MAKE) realclean; rm -f Makefile.PL; \
|
||||||
-(cd textui && $(MAKE) realclean && rm -f Makefile.PL)
|
cd ..; \
|
||||||
|
done
|
||||||
|
|
||||||
libperl_core_la_LIBADD = $(PERL_LDFLAGS)
|
libperl_core_la_LIBADD = $(PERL_LDFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user