[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / rc

Diff for /OpenXM/rc/Makefile between version 1.24 and 1.29

version 1.24, 2004/06/20 05:29:43 version 1.29, 2019/09/30 02:42:57
Line 1 
Line 1 
 # $OpenXM: OpenXM/rc/Makefile,v 1.23 2004/06/20 04:55:32 takayama Exp $  # $OpenXM: OpenXM/rc/Makefile,v 1.28 2019/03/27 05:00:19 noro Exp $
 # make install-under-prefix  [ prefix=/home/hoge ]  ; Default is /usr/local  # make install-under-prefix  [ prefix=/home/hoge ]  ; Default is /usr/local
 prefix=/usr/local  prefix=/usr/local
 CC=gcc  CC=gcc
 # SHELL_SCRIPTS=asir sm1 oxgp k0 oxmath oxMathematica ox  # SHELL_SCRIPTS=asir sm1 oxgp k0 oxmath oxMathematica ox
 SHELL_SCRIPTS=asir sm1 oxmath oxMathematica ox openxm webasir  SHELL_SCRIPTS=asir asir2000 sm1 oxmath oxMathematica ox openxm webasir
   SHELL_SCRIPTS_FREE= sm1 oxmath oxMathematica ox openxm webasir
 INSTALL_DIR=${prefix}/bin  INSTALL_DIR=${prefix}/bin
 MAN_DIR=../man/man1  MAN_DIR=../man/man1
 KDE_MENU_DIR=/usr/lib/menu  KDE_MENU_DIR=/usr/lib/menu
   
   # SHELL_SCRIPTS are generated by "gen-shell-scripts"
 all-scripts :  dot.bashrc  dot.cshrc .done_gen-shell-scripts  all-scripts :  dot.bashrc  dot.cshrc .done_gen-shell-scripts
   
 dot.bashrc : bashrc repl  dot.bashrc : bashrc repl
Line 67  install-under-prefix: all-global-shell-scripts   insta
Line 69  install-under-prefix: all-global-shell-scripts   insta
         make copy-non-free          make copy-non-free
 install-global-scripts: all-global-shell-scripts  install-global-scripts: all-global-shell-scripts
         (cd global ; install ${SHELL_SCRIPTS} ${INSTALL_DIR})          (cd global ; install ${SHELL_SCRIPTS} ${INSTALL_DIR})
   install-global-scripts-non-free: all-global-shell-scripts
           (cd global ; install asir ${INSTALL_DIR})
   install-global-scripts-free: all-global-shell-scripts
           (cd global ; install ${SHELL_SCRIPTS_FREE} ${INSTALL_DIR})
   
 clean-under-prefix:  clean-under-prefix:
         -(cd ${prefix} ; rm -rf ${prefix}/OpenXM )          -(cd ${prefix} ; rm -rf ${prefix}/OpenXM )
 # Relocate only asir  # Relocate only asir
 #    make install-non-free ;  make clean-under-prefix ;  #    make install-non-free ;  make clean-under-prefix ;
 #    make install-global-scripts ; make copy-non-free  #    make install-global-scripts-non-free ; make copy-non-free
 # Relocate only free  # Relocate only free
 #    make install-free ; make clean-under-prefix ;  #    make install-free ; make clean-under-prefix ;
 #    make install-global-scripts ; make copy-free  #    make install-global-scripts-free ; make copy-free
 #  #
 # junk-list is not a collection of real junk files.  # junk-list is not a collection of real junk files.
 # Files in it are not necessary for the binary package. They are important.  # Files in it are not necessary for the binary package. They are important.
 copy-free: all-global-shell-scripts  copy-free: all-global-shell-scripts
         -mkdir ${prefix}          -mkdir ${prefix}
         -(cd ../.. ; tar czf - --exclude-from OpenXM/rc/non-free-list --exclude OpenXM/misc --exclude OpenXM/rc --exclude OpenXM/src --exclude-from OpenXM/rc/junk-list OpenXM) | (cd ${prefix} ; tar xvzf -)          -(cd ../.. ; tar czf - --exclude-from OpenXM/rc/non-free-list --exclude OpenXM/misc --exclude OpenXM/src --exclude-from OpenXM/rc/junk-list OpenXM) | (cd ${prefix} ; tar xvzf -)
 # During installation OpenXM/bin/openxm must be overridden by global/openxm  # During installation OpenXM/bin/openxm must be overridden by global/openxm
         install global/openxm ${prefix}/OpenXM/bin          install global/openxm ${prefix}/OpenXM/bin
   
Line 89  copy-non-free: all-global-shell-scripts
Line 95  copy-non-free: all-global-shell-scripts
         -mkdir ${prefix}          -mkdir ${prefix}
         -(cd ../.. ; tar czf - --exclude-from OpenXM/rc/junk-list `cat OpenXM/rc/non-free-list`) | (cd ${prefix} ; tar xvzf -)          -(cd ../.. ; tar czf - --exclude-from OpenXM/rc/junk-list `cat OpenXM/rc/non-free-list`) | (cd ${prefix} ; tar xvzf -)
   
   install-emacs-asir-on-mac: all-scripts
           -mkdir -p ~/bin
           cp ../bin/openxm ~/bin
           if type "openxm" >/dev/null 2>&1; then \
                   echo "openxm is already in the path."; \
           else \
                   echo "export PATH=~/bin:$$PATH" >>~/.bash_profile ; \
                   echo "~/bin is added to the path."; \
           fi
           ~/bin/openxm use-asir-mode.sh
           @echo "Installation completed. Login again or do source ./dot.bashrc to start emacs/asir"

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.29

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