Changeset c50f589 for Makefile.in


Ignore:
Timestamp:
May 30, 2009, 2:29:04 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
3043064
Parents:
1e550b2
Message:
Support --program-{prefix,suffix,transform}.

Since our build scripts depend on being able to install a non-default
name, we might as well use the standard options for supporting this.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    r5fdab77 rc50f589  
    99bindir = @bindir@
    1010mandir = @mandir@
     11transform = @program_transform_name@
    1112
    1213CC=@CC@
     
    129130
    130131install: all installdirs $(PERL_MODULES:%=module_install_%)
    131         ${INSTALL_PROGRAM} $(EXE) ${DESTDIR}${bindir}/$(EXE)
     132        ${INSTALL_PROGRAM} $(EXE) ${DESTDIR}${bindir}/`echo barnowl|sed '$(transform)'`
    132133        ${INSTALL_DATA} doc/barnowl.1 ${DESTDIR}${mandir}/man1/barnowl.1
    133134        (cd perl/lib && tar --exclude .svn -cf - . ) | (cd ${DESTDIR}${datadir}/lib && tar -xf - )
Note: See TracChangeset for help on using the changeset viewer.