[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.5

1.5     ! takayama    1: # $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile,v 1.4 2003/02/28 09:06:19 takayama Exp $
1.4       takayama    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.5     ! takayama    7: VERSION=head
1.1       takayama    8: ## configuration only for committers
1.5     ! takayama    9: WHO=$(USER)@orange2
        !            10: FTP_AREA=/home/ftp/pub/OpenXM/${VERSION}
1.1       takayama   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>