Changeset c50f589


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.
Files:
2 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 - )
  • configure.ac

    r7c09b21 rc50f589  
    125125LDFLAGS="${GLIB_LIBS} ${LDFLAGS}"
    126126
     127dnl Checks for typedefs, structures, and compiler characteristics.
    127128
    128 dnl Checks for typedefs, structures, and compiler characteristics.
     129dnl Support --program-{prefix,suffix,transform}
     130AC_ARG_PROGRAM
    129131
    130132AC_SUBST(XSUBPPDIR)
Note: See TracChangeset for help on using the changeset viewer.