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

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

version 1.23, 2004/06/20 04:55:32 version 1.24, 2004/06/20 05:29:43
Line 1 
Line 1 
 # $OpenXM: OpenXM/rc/Makefile,v 1.22 2004/06/14 11:03:52 takayama Exp $  # $OpenXM: OpenXM/rc/Makefile,v 1.23 2004/06/20 04:55:32 takayama 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
Line 8  INSTALL_DIR=${prefix}/bin
Line 8  INSTALL_DIR=${prefix}/bin
 MAN_DIR=../man/man1  MAN_DIR=../man/man1
 KDE_MENU_DIR=/usr/lib/menu  KDE_MENU_DIR=/usr/lib/menu
   
 all-trad :  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
         rm -f dot.bashrc          rm -f dot.bashrc
Line 31  repl : repl.c 
Line 31  repl : repl.c 
         touch .done_gen-shell-scripts          touch .done_gen-shell-scripts
   
 #For the backword compatibility.  #For the backword compatibility.
 install: install-trad  install: install-scripts
 install-trad : all-trad  install-man  install-scripts : all-scripts  install-man
           -install -d ${INSTALL_DIR}
         -install $(SHELL_SCRIPTS) ${INSTALL_DIR}          -install $(SHELL_SCRIPTS) ${INSTALL_DIR}
 install-man :  install-man :
         -install openxm.1 ${MAN_DIR}          -install openxm.1 ${MAN_DIR}
Line 47  clean :
Line 48  clean :
 all:  all:
         (cd ../src ; make all)          (cd ../src ; make all)
 all-non-free:  all-non-free:
         (cd ../src ; make all-asir2000)          (cd ../src ; make all-asir)
 all-global-shell-scripts: repl  all-global-shell-scripts: repl
         @if [ ! -f .done_global ] ; then \          @if [ ! -f .done_global ] ; then \
         echo "Generating shell scripts in global" ; \          echo "Generating shell scripts in global" ; \
Line 57  all-global-shell-scripts: repl
Line 58  all-global-shell-scripts: repl
         (cd global ; ../gen-shell-scripts) ; \          (cd global ; ../gen-shell-scripts) ; \
         touch .done_global ; \          touch .done_global ; \
         fi          fi
 install-under-prefix: all-global-shell-scripts  install-non-free:
           (cd ../src ; make install-asir)
   install-free:
         (cd ../src ; make install)          (cd ../src ; make install)
   install-under-prefix: all-global-shell-scripts   install-free
         make copy-free          make copy-free
         make copy-non-free          make copy-non-free
   install-global-scripts: all-global-shell-scripts
           (cd global ; install ${SHELL_SCRIPTS} ${INSTALL_DIR})
   
 clean-under-prefix:  clean-under-prefix:
         -(cd ${prefix} ; rm -rf ${prefix}/OpenXM )          -(cd ${prefix} ; rm -rf ${prefix}/OpenXM )
   # Relocate only asir
   #    make install-non-free ;  make clean-under-prefix ;
   #    make install-global-scripts ; make copy-non-free
   # Relocate only free
   #    make install-free ; make clean-under-prefix ;
   #    make install-global-scripts ; 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
Line 73  copy-free: all-global-shell-scripts
Line 85  copy-free: all-global-shell-scripts
 # 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
   
 copy-non-free:  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 -)
   

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

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