=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Linux/Debian/Makefile,v retrieving revision 1.1 retrieving revision 1.5 diff -u -p -r1.1 -r1.5 --- OpenXM/misc/packages/Linux/Debian/Makefile 2000/09/27 22:52:22 1.1 +++ OpenXM/misc/packages/Linux/Debian/Makefile 2004/02/22 06:39:09 1.5 @@ -1,9 +1,13 @@ -# $OpenXM$ +# $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile,v 1.4 2003/02/28 09:06:19 takayama Exp $ -VERSION=1.1.3 +## You need the following packages to build *.deb +## apt-get install fakeroot +## apt-get install debhelper + +VERSION=head ## configuration only for committers -WHO=taka@orange -FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} +WHO=$(USER)@orange2 +FTP_AREA=/home/ftp/pub/OpenXM/${VERSION} TAR_WORK=$(HOME)/tmp RM=rm @@ -11,8 +15,8 @@ RM=rm usage : @echo "Usage (Makefile for *.deb):" @echo "clean" - @echo "build-noclean" - @echo "build" + @echo "build, build-noclean" + @echo "build-main" @echo "copy-to-ftp-area" clean: @@ -21,9 +25,11 @@ clean: build-noclean: -mkdir work - (cd ../../Generic/openxm ; make tar-ball ) + (cd ../../Generic/openxm ; make tar-ball VERSION=${VERSION}) (cd work ; tar xzvf ${TAR_WORK}/openxm-${VERSION}.tar.gz) -(cd work/openxm-${VERSION} ; ln -s ../../debian) + make build-main +build-main: ## Start of build (cd work/openxm-${VERSION}; fakeroot debian/rules build) (cd work/openxm-${VERSION}; fakeroot debian/rules install)