source:
trunk/lang/perl/Makefile.in
@
1087
Last change on this file since 1087 was 1087, checked in by dkearney, 16 years ago | |
---|---|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[1018] | 1 | |
2 | bindir = @bindir@ | |
[1087] | 3 | datadir = @datadir@ |
4 | datarootdir = @datarootdir@ | |
[1018] | 5 | exec_prefix = @exec_prefix@ |
6 | includedir = @includedir@ | |
7 | libdir = @libdir@ | |
8 | mandir = @mandir@ | |
9 | prefix = @prefix@ | |
[1087] | 10 | srcdir = @srcdir@ |
[1018] | 11 | |
[1087] | 12 | INSTALL = @INSTALL@ |
13 | MKDIR_P = @MKDIR_P@ | |
14 | RM = rm -f | |
15 | PERL = @PERL@ | |
16 | PERL_ARCHLIB = @PERL_ARCHLIB@ | |
17 | PERL_VERSION = @PERL_VERSION@ | |
18 | PERL_VERSION_RV = @PERL_VERSION_RV@ | |
19 | perl5dir = $$RAPPTURE_INSTALL_DIR/lib/perl/$(PERL_VERSION_RV) | |
[1018] | 20 | |
[1087] | 21 | build_dir = build |
[1018] | 22 | |
[1082] | 23 | all: tmp perl.env |
[1081] | 24 | $(MAKE) -C $(build_dir) |
[1018] | 25 | |
[1081] | 26 | tmp: |
27 | $(RM) -r $(build_dir) | |
[1082] | 28 | $(MKDIR_P) $(build_dir) |
[1081] | 29 | cp -p Makefile.PL $(build_dir)/Makefile.PL |
[1087] | 30 | tar -C $(srcdir) -clf - . | tar -C $(build_dir) -xpf - |
[1081] | 31 | (cd $(build_dir); $(PERL) Makefile.PL) |
[1018] | 32 | |
[1082] | 33 | perl.env: |
34 | echo 'export PERL5LIB=$(perl5dir):$$PERL5LIB' > perl.env | |
35 | ||
[1081] | 36 | install: |
37 | $(MAKE) -C $(build_dir) install_perl | |
[1082] | 38 | $(INSTALL) -m 555 perl.env $(bindir) |
[1018] | 39 | |
[1081] | 40 | clean: |
41 | $(MAKE) -C $(build_dir) clean | |
42 | $(RM) -rf $(build_dir) | |
[1082] | 43 | $(RM) perl.env |
[1018] | 44 | |
45 | distclean: clean | |
46 |
Note: See TracBrowser
for help on using the repository browser.