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

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

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