version 1.2, 2002/03/02 01:00:26 |
version 1.5, 2004/02/22 06:39:09 |
|
|
# $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile,v 1.1 2000/09/27 22:52:22 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile,v 1.4 2003/02/28 09:06:19 takayama Exp $ |
|
|
VERSION=1.2.1 |
## You need the following packages to build *.deb |
|
## apt-get install fakeroot |
|
## apt-get install debhelper |
|
|
|
VERSION=head |
## configuration only for committers |
## configuration only for committers |
WHO=taka@orange |
WHO=$(USER)@orange2 |
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
FTP_AREA=/home/ftp/pub/OpenXM/${VERSION} |
TAR_WORK=$(HOME)/tmp |
TAR_WORK=$(HOME)/tmp |
|
|
RM=rm |
RM=rm |
|
|
usage : |
usage : |
@echo "Usage (Makefile for *.deb):" |
@echo "Usage (Makefile for *.deb):" |
@echo "clean" |
@echo "clean" |
@echo "build-noclean" |
@echo "build, build-noclean" |
@echo "build" |
@echo "build-main" |
@echo "copy-to-ftp-area" |
@echo "copy-to-ftp-area" |
|
|
clean: |
clean: |
|
|
|
|
build-noclean: |
build-noclean: |
-mkdir work |
-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 ; tar xzvf ${TAR_WORK}/openxm-${VERSION}.tar.gz) |
-(cd work/openxm-${VERSION} ; ln -s ../../debian) |
-(cd work/openxm-${VERSION} ; ln -s ../../debian) |
|
make build-main |
|
build-main: |
## Start of build |
## Start of build |
(cd work/openxm-${VERSION}; fakeroot debian/rules build) |
(cd work/openxm-${VERSION}; fakeroot debian/rules build) |
(cd work/openxm-${VERSION}; fakeroot debian/rules install) |
(cd work/openxm-${VERSION}; fakeroot debian/rules install) |