version 1.1, 2004/02/22 08:09:00 |
version 1.3, 2004/02/23 04:45:30 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile-knoppix,v 1.2 2004/02/22 12:46:38 takayama Exp $ |
|
|
## You need the following packages to build *.deb |
## You need the following packages to build *.deb |
## apt-get install fakeroot |
## apt-get install fakeroot |
|
|
|
|
clean: |
clean: |
${RM} -rf work |
${RM} -rf work |
# (cd ../../Generic/openxm ; make clean-work ) |
# (cd ../../Generic/openxm ; make -f Makefile-knoppix clean-work ) |
|
|
build-noclean: |
build-noclean: |
-mkdir work |
-mkdir work |
(cd ../../Generic/openxm ; make tar-ball VERSION=${VERSION}) |
(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) |
touch work/openxm-${VERSION}/src/asir-port/for_knoppix |
touch work/openxm-${VERSION}/OpenXM/src/asir-port/for_knoppix |
make build-main |
make -f Makefile-knoppix build-main |
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 dpkg-buildpackage) |
(cd work/openxm-${VERSION}; fakeroot dpkg-buildpackage) |
|
|
build : clean |
build : clean |
make build-noclean |
make -f Makefile-knoppix build-noclean |
|
|
copy-to-ftp-area: |
copy-to-ftp-area: |
-scp work/openxm-*.deb ${WHO}:${FTP_AREA} |
-scp work/openxm-*.deb ${WHO}:${FTP_AREA} |