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

1.2     ! takayama    1: # $OpenXM: OpenXM/misc/packages/Linux/Debian/Makefile,v 1.1 2000/09/27 22:52:22 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"
                     14:        @echo "build-noclean"
                     15:        @echo "build"
                     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
                     24:        (cd ../../Generic/openxm ; make tar-ball )
                     25:        (cd work ; tar xzvf ${TAR_WORK}/openxm-${VERSION}.tar.gz)
                     26:        -(cd work/openxm-${VERSION} ; ln -s ../../debian)
                     27: ## Start of build
                     28:        (cd work/openxm-${VERSION}; fakeroot debian/rules build)
                     29:        (cd work/openxm-${VERSION}; fakeroot debian/rules install)
                     30:        (cd work/openxm-${VERSION}; fakeroot dpkg-buildpackage)
                     31:
                     32: build :  clean
                     33:        make build-noclean
                     34:
                     35: copy-to-ftp-area:
                     36:        -scp work/openxm-*.deb ${WHO}:${FTP_AREA}
                     37:        -scp work/openxm_*.dsc ${WHO}:${FTP_AREA}
                     38:        -scp work/openxm_*.changes ${WHO}:${FTP_AREA}
                     39:

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