2 #Should run this command from the project root directory
4 #TODO:validate it is project root by checking some files
6 install_dir
=`grep "prefix =" Makefile|tail -1|awk '{ print $3 }'`
7 echo "installdir is ${install_dir}"
9 #sed -e "s/getc([ ]*yyin[ ]*)/(*lexInput++)/1" dmllex.cxx >tmp.c
15 cp CSqlJdbcDriver.jar
${install_dir}/lib
19 #Any new libraries needs to be added here
22 mv libcsqlsql libcsqlsql.so
23 mv libcsqljdbc libcsqljdbc.so
24 ln -s libcsql.so libcsql
25 ln -s libcsqlsql.so libcsqlsql
26 ln -s libcsqljdbc.so libcsqljdbc
29 cp ${root_dir}/src
/sql
/Statement.h
${install_dir}/include
30 cp ${root_dir}/src
/sql
/Parser.h
${install_dir}/include
31 cd ${install_dir}/include
32 rm Allocator.h CatalogTables.h Database.h DatabaseManagerImpl.h
33 rm Globals.h Index.h Lock.h PredicateImpl.h
34 rm Process.h SessionImpl.h TableImpl.h Transaction.h UserManagerImpl.h
36 cp ${root_dir}/README.INSTALL
${install_dir}/README
37 cp ${root_dir}/Doxyfile
${install_dir}
38 cp ${root_dir}/COPYING
${install_dir}
39 cp ${root_dir}/AUTHORS
${install_dir}
40 cp ${root_dir}/ChangeLog
${install_dir}
41 cp -R ${root_dir}/examples
${install_dir}
42 find ${install_dir}/examples
-name "CVS" -exec rm -rf {} \
;
43 cp -R ${root_dir}/docs
${install_dir}
44 find ${install_dir}/docs
-name "CVS" -exec rm -rf {} \
;