Ignore:
Timestamp:
Aug 4, 2008 5:51:37 PM (15 years ago)
Author:
gah
Message:

various fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/perl/Makefile.in

    r1087 r1090  
    1818PERL_VERSION_RV = @PERL_VERSION_RV@
    1919perl5dir        = $$RAPPTURE_INSTALL_DIR/lib/perl/$(PERL_VERSION_RV)
     20envfile         = _perl.env
    2021
    2122build_dir       = build
    2223
    23 all: tmp perl.env
     24all: tmp $(envfile)
    2425        $(MAKE) -C $(build_dir)
    2526
     
    3132        (cd $(build_dir); $(PERL) Makefile.PL)
    3233
    33 perl.env:
    34         echo 'export PERL5LIB=$(perl5dir):$$PERL5LIB' > perl.env
     34$(envfile):
     35        echo 'export PERL5LIB=$(perl5dir):$$PERL5LIB' > $(envfile)
    3536
    3637install:
    3738        $(MAKE) -C $(build_dir) install_perl
    38         $(INSTALL) -m 555 perl.env $(bindir)
     39        $(INSTALL) -m 555 $(envfile) $(bindir)
    3940
    4041clean:
    4142        $(MAKE) -C $(build_dir) clean
    4243        $(RM) -rf $(build_dir)
    43         $(RM) perl.env
     44        $(RM) $(envfile)
    4445
    4546distclean: clean
Note: See TracChangeset for help on using the changeset viewer.