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

1.2     ! takayama    1: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile,v 1.1.1.1 2000/03/02 10:32:39 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.1       takayama   51:
                     52: make-tar-ball-from-local-OpenXM :
                     53:        rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
                     54:        (cd $(OpenXM_TOP) ; tar cf - OpenXM OpenXM_contrib OpenXM_contrib2) | tar xf -
                     55:        (cd OpenXM/src  ; make distclean )
                     56:        rm -f *~
                     57:        echo "It is ready to tar this directory."
                     58:
                     59: # This is used for the test.
                     60: generate-symbolic-links :
                     61:        rm -rf OpenXM OpenXM_contrib OpenXM_contrib2
                     62:        ln -s $(OpenXM_TOP)/OpenXM OpenXM
                     63:        ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib
                     64:        ln -s $(OpenXM_TOP)/OpenXM OpenXM_Contrib2
                     65:
                     66:
                     67:
                     68: clean-this-directory:
                     69:        /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~

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