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

Annotation of OpenXM/misc/packages/Linux/Debian-non-free/Makefile, Revision 1.1

1.1     ! takayama    1: # $OpenXM$
        !             2:
        !             3: ## You need the following packages to build *.deb
        !             4: ## apt-get install fakeroot
        !             5: ## apt-get install debhelper
        !             6: ## ( apt-get install dh-make )
        !             7:
        !             8: ## How to  debug?
        !             9: ## ex1.
        !            10: ##    cd work/openxm-head ; fakeroot make -f debian/rules build
        !            11:
        !            12: VERSION=head
        !            13: ## configuration only for committers
        !            14: WHO=$(USER)@orange2
        !            15: FTP_AREA=/home/ftp/pub/OpenXM/${VERSION}
        !            16: TAR_WORK=$(HOME)/tmp
        !            17:
        !            18: RM=rm
        !            19:
        !            20: usage :
        !            21:        @echo "Usage (Makefile for *.deb):"
        !            22:        @echo "clean"
        !            23:        @echo "build, build-noclean"
        !            24:        @echo "build-main"
        !            25:        @echo "copy-to-ftp-area"
        !            26:
        !            27: clean:
        !            28:        ${RM} -rf work
        !            29:
        !            30: build-noclean:
        !            31:        -mkdir  work
        !            32:        (cd ../../Generic/openxm ; make tar-ball VERSION=${VERSION})
        !            33:        (cd work ; tar xzvf ${TAR_WORK}/openxm-${VERSION}.tar.gz)
        !            34:        -(cd work/openxm-${VERSION} ; ln -s ../../debian)
        !            35:        make build-main
        !            36: build-main:
        !            37: ## Start of build
        !            38:        (cd work/openxm-${VERSION}; fakeroot debian/rules build)
        !            39:        (cd work/openxm-${VERSION}; fakeroot debian/rules install)
        !            40:        (cd work/openxm-${VERSION}; fakeroot dpkg-buildpackage -b -B)
        !            41:
        !            42: build :  clean
        !            43:        make build-noclean
        !            44:
        !            45: copy-to-ftp-area:
        !            46:        -scp work/openxm-*.deb ${WHO}:${FTP_AREA}
        !            47:        -scp work/openxm_*.dsc ${WHO}:${FTP_AREA}
        !            48:        -scp work/openxm_*.changes ${WHO}:${FTP_AREA}
        !            49:
        !            50: clean-tar:
        !            51:        (cd ../../Generic/openxm ; rm -f .*done)

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