[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / Linux / Debian

File: [local] / OpenXM / misc / packages / Linux / Debian / Makefile (download)

Revision 1.2, Sat Mar 2 01:00:26 2002 UTC (22 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.1: +2 -2 lines

Congratulations for the release 1.2.1
I'm updating our web pages.

I list some features of 1.2.1
<1> Several bug fixes of 1.1.3
<2> Experimental OpenXM for windows.
<3>  New functions in Asir, Asir-contrib, kan/sm1, kan/k0 (see documents).

# $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile,v 1.2 2002/03/02 01:00:26 takayama Exp $

VERSION=1.2.1
## configuration only for committers
WHO=taka@orange
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION}
TAR_WORK=$(HOME)/tmp

RM=rm

usage :
	@echo "Usage (Makefile for *.deb):"
	@echo "clean"
	@echo "build-noclean"
	@echo "build"
	@echo "copy-to-ftp-area"

clean:
	${RM} -rf work
#	(cd ../../Generic/openxm ; make clean-work )

build-noclean:
	-mkdir  work
	(cd ../../Generic/openxm ; make tar-ball )
	(cd work ; tar xzvf ${TAR_WORK}/openxm-${VERSION}.tar.gz)
	-(cd work/openxm-${VERSION} ; ln -s ../../debian)
## Start of build
	(cd work/openxm-${VERSION}; fakeroot debian/rules build)
	(cd work/openxm-${VERSION}; fakeroot debian/rules install)
	(cd work/openxm-${VERSION}; fakeroot dpkg-buildpackage)

build :  clean 
	make build-noclean

copy-to-ftp-area:
	-scp work/openxm-*.deb ${WHO}:${FTP_AREA}
	-scp work/openxm_*.dsc ${WHO}:${FTP_AREA}
	-scp work/openxm_*.changes ${WHO}:${FTP_AREA}