release-1.10release-1.7release-1.8release-1.9
Last change
on this file since 4200d87 was
1fd469d4,
checked in by Nelson Elhage <nelhage@mit.edu>, 14 years ago
|
Build and ship the Twitter module.
|
-
Property mode set to
100644
|
File size:
811 bytes
|
Rev | Line | |
---|
[1fd469d4] | 1 | MODULES = Jabber IRC WordWrap Twitter |
---|
[b9c8d28] | 2 | |
---|
| 3 | EXTRA_DIST = $(MODULES:=/Makefile.PL) $(MODULES:=/inc) $(MODULES:=/lib) |
---|
| 4 | |
---|
| 5 | all-local: $(MODULES) |
---|
| 6 | $(MODULES): %: %/Makefile |
---|
| 7 | (cd $* && $(MAKE) $*.par) |
---|
| 8 | |
---|
| 9 | MODULES_MAKEFILE = $(MODULES:=/Makefile) |
---|
| 10 | $(MODULES_MAKEFILE): %/Makefile: %/Makefile.PL |
---|
[636de2a] | 11 | $(AM_V_GEN)(cd $* && perl -I../../lib Makefile.PL) |
---|
[b9c8d28] | 12 | |
---|
| 13 | MODULES_CLEAN = $(MODULES:%=clean_%) |
---|
| 14 | clean-local: $(MODULES_CLEAN) |
---|
| 15 | $(MODULES_CLEAN): clean_%: |
---|
| 16 | (cd $* && (test ! -f Makefile || $(MAKE) clean)) |
---|
| 17 | |
---|
| 18 | MODULES_INSTALL = $(MODULES:%=module_install_%) |
---|
| 19 | install-data-local: $(MODULES_INSTALL) |
---|
| 20 | installdirs-local: |
---|
| 21 | $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/modules/ |
---|
| 22 | $(MODULES_INSTALL): module_install_%: % installdirs-local |
---|
| 23 | ${INSTALL_DATA} $*/$*.par ${DESTDIR}${pkgdatadir}/modules/$*.par |
---|
| 24 | |
---|
[65b9a40] | 25 | .PHONY: $(MODULES) $(MODULES_CLEAN) $(MODULES_INSTALL) |
---|
Note: See
TracBrowser
for help on using the repository browser.