Slightly nicer place for DEB_BUILD_DEPENDS.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37844 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ivan Vučica 2014-05-06 03:25:49 +00:00
parent 49741972f4
commit fb4c6208c0

View file

@ -66,12 +66,6 @@ _DEB_FILE=$(_DEB_TARNAME)_$(_DEB_ARCH).deb
_ABS_OBJ_DIR=$(shell (cd "$(GNUSTEP_BUILD_DIR)"; pwd))/obj
ifeq ($(DEB_BUILD_DEPENDS), )
DEB_BUILD_DEPENDS=gnustep-make (>=$(GNUSTEP_MAKE_VERSION))
else
DEB_BUILD_DEPENDS+=, gnustep-make (>=$(GNUSTEP_MAKE_VERSION))
endif
# To produce a signed Debian source and binary package,
# call 'make debsign=yes'.
ifeq ($(debsign),yes)
@ -89,6 +83,14 @@ ifeq ($(_DEB_SHOULD_EXPORT), )
#
ifeq ($(DEB_BUILD_DEPENDS),)
DEB_BUILD_DEPENDS = gnustep-make (>=$(GNUSTEP_MAKE_VERSION))
export DEB_BUILD_DEPENDS
else
DEB_BUILD_DEPENDS += , gnustep-make (>=$(GNUSTEP_MAKE_VERSION))
export DEB_BUILD_DEPENDS
endif
_debenv.phony::
-rm _debenv
_DEB_SHOULD_EXPORT=1 make _debenv