github.com/whamcloud/lemur@v0.0.0-20190827193804-4655df8a52af/packaging/docker/Makefile (about)

     1  PROXY_VARS := HTTP_PROXY HTTPS_PROXY FTP_PROXY NO_PROXY http_proxy https_proxy ftp_proxy no_proxy
     2  BUILD_VARS := $(shell bv=; for pvar in $(PROXY_VARS); do if [ x"$${!pvar}" == "x" ]; then continue; fi; bv="$$bv --build-arg=$$pvar=$${!pvar}"; done; echo $$bv)
     3  SUBDIRS := go-el7 buildonly-lustre-client lemur-rpm-build
     4  
     5  subdirs: $(SUBDIRS)
     6  
     7  $(SUBDIRS):
     8  	@BUILD_VARS="$(BUILD_VARS)" make -C $@
     9  
    10  host-kernel: go-el7
    11  buildonly-lustre-client: go-el7
    12  native-lustre-client: host-kernel
    13  lemur-rpm-build: buildonly-lustre-client
    14  
    15  .PHONY: $(SUBDIRS) subdirs