Changeset 32480


Ignore:
Timestamp:
2018-09-24T15:37:45+12:00 (6 years ago)
Author:
ak19
Message:

When build-src/packages is compiling up anything in perllib/cpan that needs compiling, on macs and macs alone we now also compile up and install ZeroSSL's Crypt::LE perl package needed by for https certification on macs. This is done at the end of make all target of build-src/packages which runs cpan/compile-zerossl.sh to cascade-make it, while the end of the make clean target runs compile-zerossl.sh with the minus-minus-clean flag

Location:
main/trunk/greenstone2/build-src/packages
Files:
2 edited

Legend:

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

    r31836 r32480  
    3232# build-src/packages/configure. make clean and make distclean happen here.
    3333
     34# For darwin, the end of make all will also cascade-make the Crypt::LE perl
     35# package (configure-compile-install all its dependencies and Crypt::LE too)
     36# used for https certification on macs.
     37# Likewise, at make clean's end, clean is also run on Crypt::LE, uninstalling it.
     38
    3439PACKAGEDIRS =
    3540
     
    6267          (cd $$idir && $(MAKE) install) || exit 1; \
    6368        done
     69    if [[ $(GSDLOS) = "darwin" ]]; then \
     70      (cd ../../perllib/cpan && ./compile-zerossl.sh || exit 0) ; \
     71    fi
    6472
    6573clean:
     
    6876          (cd $$subdir && $(MAKE) clean || exit 0) ; \
    6977        done
     78    if [[ $(GSDLOS) = "darwin" ]]; then \
     79      (cd ../../perllib/cpan && ./compile-zerossl.sh --clean || exit 0) ; \
     80    fi
    7081
    7182distclean:
  • main/trunk/greenstone2/build-src/packages/Makefile.in

    r31836 r32480  
    3232# build-src/packages/configure. make clean and make distclean happen here.
    3333
     34# For darwin, the end of make all will also cascade-make the Crypt::LE perl
     35# package (configure-compile-install all its dependencies and Crypt::LE too)
     36# used for https certification on macs.
     37# Likewise, at make clean's end, clean is also run on Crypt::LE, uninstalling it.
     38
    3439PACKAGEDIRS =
    3540
     
    6267          (cd $$idir && $(MAKE) install) || exit 1; \
    6368        done
     69    if [[ $(GSDLOS) = "darwin" ]]; then \
     70      (cd ../../perllib/cpan && ./compile-zerossl.sh || exit 0) ; \
     71    fi
    6472
    6573clean:
     
    6876          (cd $$subdir && $(MAKE) clean || exit 0) ; \
    6977        done
     78    if [[ $(GSDLOS) = "darwin" ]]; then \
     79      (cd ../../perllib/cpan && ./compile-zerossl.sh --clean || exit 0) ; \
     80    fi
    7081
    7182distclean:
Note: See TracChangeset for help on using the changeset viewer.