[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.1, Wed Sep 27 22:52:22 2000 UTC (23 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: maekawa-ipv6, RELEASE_1_2_1

1. Minor corrections for the OpenXM 1.1.3 web page.
2. Makefiles for Debian. Donated by Tadayoshi Okuma
        tad@omoikane.co.jp

# $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile,v 1.1 2000/09/27 22:52:22 takayama Exp $

VERSION=1.1.3
## 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}