source: mpich2/1.0.8/debian/patches/01_Makefile.in.patch @ 221

Last change on this file since 221 was 44, checked in by jazz, 16 years ago
  • Debian Package folder which had tested on debian Etch and Ubuntu Hardy.
  • note: Lenny does not have package libg2c0
File size: 4.7 KB
  • Makefile.in

    diff -Nur mpich2-1.0.7/Makefile.in mpich2-1.0.7.new/Makefile.in
    old new  
    185185  if [ ! -d ${DESTDIR}${exec_prefix} ] ; then $(MKDIR_P) ${DESTDIR}${exec_prefix} ; fi
    186186  if [ ! -d ${DESTDIR}${libdir} ] ; then $(MKDIR_P) ${DESTDIR}${libdir} ; fi
    187187  ${MAKE} install-local
     188  ${MAKE} install-examples
    188189  $(INSTALL_DATA) src/include/mpi.h ${DESTDIR}${includedir}/mpi.h
    189190  $(INSTALL_DATA) lib/lib${MPILIBNAME}.a ${DESTDIR}${libdir}/lib${MPILIBNAME}.a
    190191  if [ ! -d ${DESTDIR}${docdir} ] ; then $(MKDIR_P) ${DESTDIR}${docdir} ; fi
     
    479480# documentation)
    480481install-examples:
    481482  if [ ! -d ${DESTDIR}${exec_prefix}/examples ] ; then \
    482       $(MKDIR_P) ${DESTDIR}${exec_prefix}/examples ; \
     483      $(MKDIR_P) ${DESTDIR}${exec_prefix}/share/mpich2/examples ; \
    483484  fi
    484   $(INSTALL_PROGRAM) examples/cpi ${DESTDIR}${exec_prefix}/examples/cpi
     485  $(INSTALL_PROGRAM) examples/cpi ${DESTDIR}${exec_prefix}/share/mpich2/examples/cpi
    485486
    486487install-devdocs:
    487488  (cd doc && $(MAKE) install-devdocs)
  • src/mpe2/Makefile.in

    diff -Nur mpich2-1.0.7/src/mpe2/Makefile.in mpich2-1.0.7.new/src/mpe2/Makefile.in
    old new  
    7070
    7171########  Installing
    7272install: FORCE_TARGET
    73   @if [ -n "$(PREFIX)" ] ; then \
    74        ./sbin/mpeinstall -prefix=$(PREFIX) -dmode="" ; \
     73  @if [ -n "$(prefix)" ] ; then \
     74       ./sbin/mpeinstall -prefix=$(prefix) -dmode="" ; \
    7575   else \
    7676       ./sbin/mpeinstall -dmode="" ; \
    7777   fi
    7878
    7979installcheck:
    80   @if [ -n "$(PREFIX)" ] ; then \
    81        ./sbin/mpecheckinstall -prefix=$(PREFIX) ; \
     80  @if [ -n "$(prefix)" ] ; then \
     81       ./sbin/mpecheckinstall -prefix=$(prefix) ; \
    8282   else \
    8383       ./sbin/mpecheckinstall ; \
    8484   fi
    8585
    8686installcheck-all:
    87   @if [ -n "$(PREFIX)" ] ; then \
     87  @if [ -n "$(prefix)" ] ; then \
    8888       if [ -n "$(MPERUN)" ] ; then \
    89            ./sbin/mpecheckinstall -prefix=$(PREFIX) -run="$(MPERUN)" ; \
     89           ./sbin/mpecheckinstall -prefix=$(prefix) -run="$(MPERUN)" ; \
    9090       else \
    91            ./sbin/mpecheckinstall -prefix=$(PREFIX) -run ; \
     91           ./sbin/mpecheckinstall -prefix=$(prefix) -run ; \
    9292       fi ; \
    9393   else \
    9494       if [ -n "$(MPERUN)" ] ; then \
  • src/mpe2/src/slog2sdk/Makefile.in

    diff -Nur mpich2-1.0.7/src/mpe2/src/slog2sdk/Makefile.in mpich2-1.0.7.new/src/mpe2/src/slog2sdk/Makefile.in
    old new  
    1515    done
    1616
    1717install:
    18   @if [ -n "$(PREFIX)" ] ; then \
    19        ./sbin/install-package -prefix=$(PREFIX) ; \
     18  @if [ -n "$(prefix)" ] ; then \
     19       ./sbin/install-package -prefix=$(prefix) ; \
    2020   else \
    2121       ./sbin/install-package ; \
    2222   fi
  • src/mpe2/src/slog2sdk/trace_rlog/Makefile.in

    diff -Nur mpich2-1.0.7/src/mpe2/src/slog2sdk/trace_rlog/Makefile.in mpich2-1.0.7.new/src/mpe2/src/slog2sdk/trace_rlog/Makefile.in
    old new  
    77  cd src && $(MAKE)
    88
    99install:
    10   @if [ -n "$(PREFIX)" ] ; then \
    11        ./sbin/install-package -prefix=$(PREFIX) ; \
     10  @if [ -n "$(prefix)" ] ; then \
     11       ./sbin/install-package -prefix=$(prefix) ; \
    1212   else \
    1313       ./sbin/install-package ; \
    1414   fi
  • src/mpe2/src/slog2sdk/trace_sample/Makefile.in

    diff -Nur mpich2-1.0.7/src/mpe2/src/slog2sdk/trace_sample/Makefile.in mpich2-1.0.7.new/src/mpe2/src/slog2sdk/trace_sample/Makefile.in
    old new  
    77  cd src && $(MAKE)
    88
    99install:
    10   @if [ -n "$(PREFIX)" ] ; then \
    11        ./sbin/install-package -prefix=$(PREFIX) ; \
     10  @if [ -n "$(prefix)" ] ; then \
     11       ./sbin/install-package -prefix=$(prefix) ; \
    1212   else \
    1313       ./sbin/install-package ; \
    1414   fi
  • src/mpi/romio/Makefile.in

    diff -Nur mpich2-1.0.7/src/mpi/romio/Makefile.in mpich2-1.0.7.new/src/mpi/romio/Makefile.in
    old new  
    134134
    135135install:
    136136  $(MAKE) clean
    137   @./util/romioinstall -prefix=$(PREFIX)
     137  @./util/romioinstall -prefix=$(prefix)
    138138
    139139# LAM added uninstall target
    140140uninstall:
    141   @./util/romioinstall -prefix=$(PREFIX) -uninstall
     141  @./util/romioinstall -prefix=$(prefix) -uninstall
    142142
    143143# FIXME: To avoid problems with noisy make programs, these should be accessed
    144144# through entries in localdefs .
Note: See TracBrowser for help on using the repository browser.