Changes in perl/modules/Makefile.am [35c5bd8:eb5e8fc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Makefile.am
r35c5bd8 reb5e8fc 2 2 3 3 EXTRA_DIST = $(MODULES:=/Makefile.PL) $(MODULES:=/inc) $(MODULES:=/lib) 4 EXTRA_DIST += \ 5 Facebook/README \ 6 Twitter/README \ 7 Twitter/twitter.example 4 8 5 9 all-local: $(MODULES) … … 9 13 MODULES_MAKEFILE = $(MODULES:=/Makefile) 10 14 $(MODULES_MAKEFILE): %/Makefile: %/Makefile.PL 15 [ $(srcdir) = . ] || cp -srf --no-preserve=mode -- $(abs_srcdir)/$*/. $* 11 16 $(AM_V_GEN)(cd $* && perl -I../../lib Makefile.PL) 12 17 … … 14 19 clean-local: $(MODULES_CLEAN) 15 20 $(MODULES_CLEAN): clean_%: 16 (cd $* && (test ! -f Makefile || $(MAKE) clean)) 21 if [ $(srcdir) = . ]; then \ 22 (cd $* && { test ! -f Makefile || $(MAKE) realclean; }) && \ 23 rm -f $*/$*.par; \ 24 else \ 25 rm -rf $*; \ 26 fi 17 27 18 28 MODULES_INSTALL = $(MODULES:%=module_install_%) … … 23 33 ${INSTALL_DATA} $*/$*.par ${DESTDIR}${pkgdatadir}/modules/$*.par 24 34 35 uninstall-local: 36 rm -f $(MODULES:%=${DESTDIR}${pkgdatadir}/modules/%.par) 37 25 38 .PHONY: $(MODULES) $(MODULES_CLEAN) $(MODULES_INSTALL)
Note: See TracChangeset
for help on using the changeset viewer.