From 5a124394dd803e1712e0b4ee89031e2275220fba Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 22 May 2003 08:41:18 +0000 Subject: [PATCH] Fix debian package build. [SVN r18492] --- historic/jam/src/debian/changelog | 2 +- historic/jam/src/debian/rules | 10 +++------- jam_src/debian/changelog | 2 +- jam_src/debian/rules | 10 +++------- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/historic/jam/src/debian/changelog b/historic/jam/src/debian/changelog index 9ff8b2ae1..f022cde9f 100644 --- a/historic/jam/src/debian/changelog +++ b/historic/jam/src/debian/changelog @@ -1,4 +1,4 @@ -bjam (3.1.5-3) unstable; urgency=low +bjam (3.1.5-1) unstable; urgency=low * New upstream release. diff --git a/historic/jam/src/debian/rules b/historic/jam/src/debian/rules index e2fbf0168..756052a3b 100755 --- a/historic/jam/src/debian/rules +++ b/historic/jam/src/debian/rules @@ -21,11 +21,7 @@ build: build-stamp build-stamp: debian/jam.1 dh_testdir - # bootstrap - ${MAKE} - # update generated files - rm jamgram.c jamgram.h - ${MAKE} + ./build.sh touch build-stamp @@ -46,8 +42,8 @@ install: build dh_clean -k dh_installdirs - ./jam0 -sBINDIR=${topdir}/debian/${jam}/usr/bin install - cd debian/${jam}/usr/bin && mv jam ${binname} + install -d ${topdir}/debian/${jam}/usr/bin + install -m755 bin.linuxx86/bjam ${topdir}/debian/${jam}/usr/bin/ install -d ${topdir}/debian/${jam}/usr/share/man/man1/ install -m644 debian/jam.1 ${topdir}/debian/${jam}/usr/share/man/man1/${binname}.1 diff --git a/jam_src/debian/changelog b/jam_src/debian/changelog index 9ff8b2ae1..f022cde9f 100644 --- a/jam_src/debian/changelog +++ b/jam_src/debian/changelog @@ -1,4 +1,4 @@ -bjam (3.1.5-3) unstable; urgency=low +bjam (3.1.5-1) unstable; urgency=low * New upstream release. diff --git a/jam_src/debian/rules b/jam_src/debian/rules index e2fbf0168..756052a3b 100755 --- a/jam_src/debian/rules +++ b/jam_src/debian/rules @@ -21,11 +21,7 @@ build: build-stamp build-stamp: debian/jam.1 dh_testdir - # bootstrap - ${MAKE} - # update generated files - rm jamgram.c jamgram.h - ${MAKE} + ./build.sh touch build-stamp @@ -46,8 +42,8 @@ install: build dh_clean -k dh_installdirs - ./jam0 -sBINDIR=${topdir}/debian/${jam}/usr/bin install - cd debian/${jam}/usr/bin && mv jam ${binname} + install -d ${topdir}/debian/${jam}/usr/bin + install -m755 bin.linuxx86/bjam ${topdir}/debian/${jam}/usr/bin/ install -d ${topdir}/debian/${jam}/usr/share/man/man1/ install -m644 debian/jam.1 ${topdir}/debian/${jam}/usr/share/man/man1/${binname}.1