mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 08:09:27 +02:00
make deb: fixed
git-svn-id: trunk@29258 -
This commit is contained in:
parent
c884c0bab6
commit
fc51ee2b76
7
Makefile
7
Makefile
@ -3587,19 +3587,16 @@ DEB_BUILDPKG_OPT=-sa
|
||||
else
|
||||
DEB_BUILDPKG_OPT=
|
||||
endif
|
||||
ifeq ($(wildcard ${DEBSRC_ORIG}.tar.gz),)
|
||||
ifeq (${DEBBUILD},0)
|
||||
DEBUSESVN=1
|
||||
endif
|
||||
ifeq (${DEBBUILD},1)
|
||||
DEBUSESVN=1
|
||||
endif
|
||||
ifeq (${DEBBUILD},)
|
||||
DEBUSESVN=1
|
||||
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
|
||||
@ -3634,7 +3631,7 @@ ifdef DEBUSESVN
|
||||
lcl \
|
||||
packager \
|
||||
test \
|
||||
tools \
|
||||
tools
|
||||
echo "const RevisionStr = '${SVNVERSION}';" > $(DEBSRCDIR)/ide/revision.inc
|
||||
else
|
||||
tar -C ${BUILDDIR} -zxf ${DEBSRC_ORIG}.tar.gz ${DEBSRC}
|
||||
|
@ -183,19 +183,16 @@ DEB_BUILDPKG_OPT=-sa
|
||||
else
|
||||
DEB_BUILDPKG_OPT=
|
||||
endif
|
||||
ifeq ($(wildcard ${DEBSRC_ORIG}.tar.gz),)
|
||||
ifeq (${DEBBUILD},0)
|
||||
DEBUSESVN=1
|
||||
endif
|
||||
ifeq (${DEBBUILD},1)
|
||||
DEBUSESVN=1
|
||||
endif
|
||||
ifeq (${DEBBUILD},)
|
||||
DEBUSESVN=1
|
||||
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
|
||||
@ -232,7 +229,7 @@ ifdef DEBUSESVN
|
||||
lcl \
|
||||
packager \
|
||||
test \
|
||||
tools \
|
||||
tools
|
||||
# add ide/revision.inc
|
||||
echo "const RevisionStr = '${SVNVERSION}';" > $(DEBSRCDIR)/ide/revision.inc
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user