Annotation of OpenXM/misc/packages/Linux/Debian/Makefile-knoppix, Revision 1.4
1.4 ! takayama 1: # $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile-knoppix,v 1.3 2004/02/23 04:45:30 takayama Exp $
1.1 takayama 2:
3: ## You need the following packages to build *.deb
4: ## apt-get install fakeroot
5: ## apt-get install debhelper
6:
7: VERSION=head
8: ## configuration only for committers
9: WHO=${USER}@orange2
10: FTP_AREA=/home/ftp/pub/OpenXM/${VERSION}/knoppix
11: TAR_WORK=$(HOME)/tmp
12:
13: RM=rm
14:
15: usage :
16: @echo "Usage (Makefile for *.deb):"
17: @echo "clean"
18: @echo "build, build-noclean"
19: @echo "build-main"
20: @echo "copy-to-ftp-area"
21:
22: clean:
23: ${RM} -rf work
1.3 takayama 24: # (cd ../../Generic/openxm ; make -f Makefile-knoppix clean-work )
1.1 takayama 25:
26: build-noclean:
27: -mkdir work
28: (cd ../../Generic/openxm ; make tar-ball VERSION=${VERSION})
29: (cd work ; tar xzvf ${TAR_WORK}/openxm-${VERSION}.tar.gz)
30: -(cd work/openxm-${VERSION} ; ln -s ../../debian)
1.2 takayama 31: touch work/openxm-${VERSION}/OpenXM/src/asir-port/for_knoppix
1.4 ! takayama 32: touch work/openxm-${VERSION}/OpenXM/src/gc/.use_ports
1.3 takayama 33: make -f Makefile-knoppix build-main
1.1 takayama 34: build-main:
35: ## Start of build
36: (cd work/openxm-${VERSION}; fakeroot debian/rules build)
37: (cd work/openxm-${VERSION}; fakeroot debian/rules install)
38: (cd work/openxm-${VERSION}; fakeroot dpkg-buildpackage)
39:
40: build : clean
1.3 takayama 41: make -f Makefile-knoppix build-noclean
1.1 takayama 42:
43: copy-to-ftp-area:
44: -scp work/openxm-*.deb ${WHO}:${FTP_AREA}
45: -scp work/openxm_*.dsc ${WHO}:${FTP_AREA}
46: -scp work/openxm_*.changes ${WHO}:${FTP_AREA}
47:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>