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

Annotation of OpenXM/misc/packages/Linux/Debian/Makefile, Revision 1.4

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>