Ignore:
Timestamp:
2013-11-19T14:59:12+13:00 (10 years ago)
Author:
ak19
Message:

Reverting to 28635, but gs2build/build-src/Makefile.in now still sets the SHELL makefile variable so that pushd and source work with dash (Ubuntu Makefiles use dash instead of bash).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/Makefile.in

    r28636 r28643  
    2626srcdir = @srcdir@
    2727
    28 SHELL=/bin/bash
     28SHELL = /bin/bash
    2929PACKAGE = @PACKAGE@
    3030VERSION = @VERSION@
     
    5959
    6060all:
     61    if test $(ENABLE_GNOMELIB_EXT) = 1; then \
     62      if test -d ../ext/gnome-lib; then \
     63        pushd ../ext/gnome-lib && source ./devel.bash && popd; \
     64      elif test -d ../ext/gnome-lib-minimal; then \
     65        pushd ../ext/gnome-lib-minimal && source ./devel.bash && popd; \
     66      fi; \
     67    fi
    6168    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \
    6269      echo making $@ in $$odir; \
    63       if test $(ENABLE_GNOMELIB_EXT) = 1; then \
    64         if test -d ../ext/gnome-lib; then \
    65           (pushd ../ext/gnome-lib && source ./devel.bash && popd && cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    66         elif test -d ../ext/gnome-lib-minimal; then \
    67           (pushd ../ext/gnome-lib-minimal && source ./devel.bash && popd && cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    68         fi; \
    69       else \
    70         (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    71       fi; \
     70      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    7271    done
    7372
Note: See TracChangeset for help on using the changeset viewer.