MAKE DEB: Fix snapshot build to support Debian 3.0 source format.

patch by Mazen

git-svn-id: trunk@30970 -
This commit is contained in:
vincents 2011-05-30 08:30:58 +00:00
parent 5e7c2ab4d6
commit 04c5526603
3 changed files with 3 additions and 5 deletions

View File

@ -3639,8 +3639,7 @@ endif
debsetup:
$(COPYTREE) ${DEBDIR} $(DEBSRCDIR)/debian
ifdef SNAPSHOT
sed -e "s/${DEBPACKAGEVERSION}/${DEBPACKAGEVERSION}-${BUILDDATE}/" $(DEBSRCDIR)/debian/changelog > $(DEBSRCDIR)/debian/changelog.tmp
${MOVE} $(DEBSRCDIR)/debian/changelog.tmp $(DEBSRCDIR)/debian/changelog
sed -e 's/${DEBPACKAGEVERSION}/${DEBPACKAGEVERSION}~${BUILDDATE}/' -i $(DEBSRCDIR)/debian/changelog
endif
chmod 755 $(DEBSRCDIR)/debian/rules
find $(DEBSRCDIR) -name '.svn' | xargs ${DELTREE}

View File

@ -239,8 +239,7 @@ endif
debsetup:
$(COPYTREE) ${DEBDIR} $(DEBSRCDIR)/debian
ifdef SNAPSHOT
sed -e "s/${DEBPACKAGEVERSION}/${DEBPACKAGEVERSION}-${BUILDDATE}/" $(DEBSRCDIR)/debian/changelog > $(DEBSRCDIR)/debian/changelog.tmp
${MOVE} $(DEBSRCDIR)/debian/changelog.tmp $(DEBSRCDIR)/debian/changelog
sed -e 's/${DEBPACKAGEVERSION}/${DEBPACKAGEVERSION}~${BUILDDATE}/' -i $(DEBSRCDIR)/debian/changelog
endif
chmod 755 $(DEBSRCDIR)/debian/rules
find $(DEBSRCDIR) -name '.svn' | xargs ${DELTREE}

2
debian/changelog vendored
View File

@ -2,7 +2,7 @@ lazarus (0.9.31-0) unstable; urgency=low
* Snapshot building.
-- Abou Al Montacir <abou.almontacir@sfr.fr> Thu, 14 Apr 2011 10:00:00 +0100
-- Abou Al Montacir <abou.almontacir@sfr.fr> Mon, 30 May 2011 09:37:00 +0100
lazarus (0.9.30-2) unstable; urgency=low