=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Linux/Debian2/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.4 diff -u -p -r1.1.1.1 -r1.4 --- OpenXM/misc/packages/Linux/Debian2/Makefile 2006/02/08 08:52:53 1.1.1.1 +++ OpenXM/misc/packages/Linux/Debian2/Makefile 2006/02/12 12:25:42 1.4 @@ -1,6 +1,6 @@ # Do source dot.bashrc before doing something. -VERSION=1.2.3-4 +VERSION=1.2.3-5 # This VERSION must be compatible with debian/control ver. # OpenXM/download/Makefile # work/OpenXM/src/asir-port/Makefile @@ -10,11 +10,16 @@ OS=`uname -s` RSYNC=rsync -avz -e ssh FTP_DIR=/home/ftp/pub/OpenXM/head/knoppix -build-package: fetch make-tar-ball-2 +build-package: fetch make-tar-ball-2 fakeroot debian/rules build fakeroot debian/rules install fakeroot dpkg-buildpackage +build-deb: + fakeroot debian/rules build + fakeroot debian/rules install + fakeroot dpkg-buildpackage + fetch: if [ ! -f .fetch_done ]; then \ rm -rf work ; \ @@ -63,6 +68,7 @@ FILES=OpenXM/Copyright OpenXM/bin OpenXM/include \ make-tar-ball-2: make-tar-ball-1 if [ ! -f .make-tar-ball-2_done ]; then \ (cd work/OpenXM/bin ; for i in ${BINARY_FILES} ; do strip $$i ; done ) ;\ + (cd work/OpenXM/rc ; make clean ) ;\ (cd work; tar czvf openxm-binary-${OS}-${VERSION}.tar.gz ${EXCLUDE_FILES} ${FILES}) ; \ (cd work ; ${MD5} "openxm-binary-${OS}-${VERSION}.tar.gz" | awk '{print $$1}' >distinfo-openxm-binary.md5) ;\ (cp work/distinfo-openxm-binary.md5 OpenXM/download) ; \