fixed Makefile (issue #18736) from Mazen

git-svn-id: trunk@29472 -
This commit is contained in:
vincents 2011-02-11 21:53:40 +00:00
parent d1da1d5e40
commit 97411b4e3b
2 changed files with 12 additions and 14 deletions

View File

@ -3596,18 +3596,17 @@ endif
ifdef SNAPSHOT
DEBUSESVN=1
endif
ifeq ($(wildcard ${DEBSRC_ORIG}.tar.gz),)
ifndef DEBUSESVN
$(error Need "${DEBSRC_ORIG}.tar.gz" to build for DEBBUILD = "${DEBBUILD}" > 1)
endif
endif
ifndef SIGN
DEB_BUILDPKG_OPT+= -us -uc
endif
debcheck:
ifneq ($(DEBVERSION),$(PACKAGE_VERSION))
@$(ECHO) "Debian version ($(DEBVERSION)) is not correct, expect $(PACKAGE_VERSION)"
@exit 1
! ${ECHO} "Debian version ($(DEBVERSION)) is not correct, expect $(PACKAGE_VERSION)"
endif
ifeq ($(wildcard ${DEBSRC_ORIG}.tar.gz),)
ifndef DEBUSESVN
! ${ECHO} 'Need "${DEBSRC_ORIG}.tar.gz" to build for DEBBUILD = "${DEBBUILD}" > 1'
endif
endif
debcopy: distclean
${DELTREE} ${BUILDDIR}

View File

@ -192,19 +192,18 @@ endif
ifdef SNAPSHOT
DEBUSESVN=1
endif
ifeq ($(wildcard ${DEBSRC_ORIG}.tar.gz),)
ifndef DEBUSESVN
$(error Need "${DEBSRC_ORIG}.tar.gz" to build for DEBBUILD = "${DEBBUILD}" > 1)
endif
endif
ifndef SIGN
DEB_BUILDPKG_OPT+= -us -uc
endif
debcheck:
ifneq ($(DEBVERSION),$(PACKAGE_VERSION))
@$(ECHO) "Debian version ($(DEBVERSION)) is not correct, expect $(PACKAGE_VERSION)"
@exit 1
! ${ECHO} "Debian version ($(DEBVERSION)) is not correct, expect $(PACKAGE_VERSION)"
endif
ifeq ($(wildcard ${DEBSRC_ORIG}.tar.gz),)
ifndef DEBUSESVN
! ${ECHO} 'Need "${DEBSRC_ORIG}.tar.gz" to build for DEBBUILD = "${DEBBUILD}" > 1'
endif
endif
debcopy: distclean