[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / FreeBSD / openxm-1.1.2

Annotation of OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile, Revision 1.4

1.4     ! takayama    1: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile,v 1.3 2000/03/04 04:00:47 takayama Exp $
1.1       takayama    2:
                      3: # Modify this.
                      4: OpenXM_TOP=$(HOME)
                      5: # Modify this.  It's for committters.
                      6: RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs
                      7:
                      8: srcdir = .
                      9: prefix=${PREFIX}
                     10: MAN_DIR=${prefix}/man/man1
                     11:
                     12: OpenXM_BINARIES=gnuplot4ox gnuplot_x11 k0 ox ../lib/asir/asir ox_sm1 oxlog oxweave sm1 tigers
                     13:
                     14: usage:
                     15:        @echo "Targets are all, install, clean, distclean"
1.2       takayama   16:        @echo "You need to specify the PREFIX to install,"
                     17:        @echo "e.g., make install PREFIX=/usr/local"
1.1       takayama   18:        @echo "For committers: make-tar-ball, make-tar-ball-from-local-OpenXM"
                     19:        @echo "                generate-symbolic-links, clean-this-directory"
                     20:        @echo " make-tar-ball : create openxm-1.1.2.tar.gz under ~/tmp"
                     21:
                     22: configure :
                     23:        (cd $(srcdir)/OpenXM/src ;      make configure )
                     24:
                     25: all : configure
                     26: #      (cd $(srcdir)/OpenXM/src ;      make ;  make install)
                     27:        (cd $(srcdir)/OpenXM/src ;      make binary-dist)
                     28:
                     29: install : all
                     30:        tar cf - OpenXM/bin OpenXM/doc OpenXM/lib OpenXM/rc OpenXM/Copyright OpenXM/include OpenXM/man  OpenXM/misc | (cd ${prefix} ; tar xf - )
                     31:        -for i in $(OpenXM_BINARIES); do strip ${prefix}/OpenXM/bin/$$i ; done
                     32:        (cd ${prefix}/OpenXM/rc ; make ; make install PREFIX=${prefix})
                     33:
                     34: install.man : install
                     35:        -cp ${prefix}/OpenXM/man/man1/* ${MAN_DIR}
                     36:
                     37: clean :
                     38:        cd $(srcdir)/OpenXM/src ; make clean
                     39:
                     40: distclean :
                     41:        cd $(srcdir)/OpenXM/src ; make distclean
                     42:
                     43:
                     44: #### The rests are for committers.
                     45: make-tar-ball :
                     46:        rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
                     47:        $(RCVS) export -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2
                     48:        rm -f *~
                     49:        echo "Creating a tar ball under ~/tmp/"
1.2       takayama   50:        (cd .. ; tar czf $(HOME)/tmp/openxm-1.1.2.tar.gz openxm-1.1.2)
1.3       takayama   51:        rm -rf openxm
                     52:        mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm
                     53:        tar czf $(HOME)/tmp/openxm-port.tar.gz openxm
1.1       takayama   54:
1.4     ! takayama   55: make-tar-ball-for-openxm-port:
        !            56:        rm -rf openxm
        !            57:        rm -rf OpenXM/misc/packages/FreeBSD
        !            58:        $(RCVS) export -rHEAD OpenXM/misc/packages/FreeBSD
        !            59:        mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm
        !            60:        tar czf $(HOME)/tmp/openxm-port.tar.gz openxm
        !            61:
1.1       takayama   62: make-tar-ball-from-local-OpenXM :
                     63:        rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
                     64:        (cd $(OpenXM_TOP) ; tar cf - OpenXM OpenXM_contrib OpenXM_contrib2) | tar xf -
                     65:        (cd OpenXM/src  ; make distclean )
                     66:        rm -f *~
                     67:        echo "It is ready to tar this directory."
                     68:
                     69: # This is used for the test.
                     70: generate-symbolic-links :
                     71:        rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
                     72:        ln -s $(OpenXM_TOP)/OpenXM OpenXM
                     73:        ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib
                     74:        ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib2
                     75:
                     76:
                     77:
                     78: clean-this-directory:
1.4     ! takayama   79:        /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~ openxm

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