=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Linux/Debian/debian/rules,v retrieving revision 1.4 retrieving revision 1.14 diff -u -p -r1.4 -r1.14 --- OpenXM/misc/packages/Linux/Debian/debian/rules 2004/02/23 11:46:45 1.4 +++ OpenXM/misc/packages/Linux/Debian/debian/rules 2004/12/17 00:13:09 1.14 @@ -22,11 +22,11 @@ SHARED_FILES = OpenXM/Copyright OpenXM/doc OpenXM/incl OpenXM/lib/k097 OpenXM/lib/math OpenXM/lib/pari \ OpenXM/lib/sm1 OpenXM/lib/asir BINARY_FILES = OpenXM/bin OpenXM/lib/*.a OpenXM/lib/*.so* OpenXM/lib/*.a.* \ - OpenXM/rc + OpenXM/rc OpenXM/libexec/* MAN_PAGES = openxm.1 sm1.1 -EXECUTABLES = gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog oxweave sm1 tigers +EXECUTABLES = gnuplot k0 ox ox_sm1 ox_k0 oxlog oxweave sm1 tigers ox_texmacs -SHELL_SCRIPTS=asir sm1 oxgp oxmath oxMathematica ox openxm +SHELL_SCRIPTS=asir sm1 oxmath oxMathematica ox openxm INST_PREFIX = `pwd`/debian/tmp/usr/local @@ -37,7 +37,7 @@ build-stamp: (export PATH=${PATH}:/usr/lib/jdk1.1/bin ; cd OpenXM/src ;\ make configure ;\ make ;\ - make install ; make install-document ) + make install ; make install-document ; cd asir-port ; make install ; make clean-for-knoppix) touch build-stamp clean: @@ -62,6 +62,15 @@ install: build sed 's/^OpenXM_HOME=$$HOME/OpenXM_HOME=\/usr\/local/' <${INST_PREFIX}/OpenXM/rc/bashrc >${INST_PREFIX}/OpenXM/rc/dot.bashrc mkdir ${INST_PREFIX}/bin (cd ${INST_PREFIX}/OpenXM/rc ; make openxm ; ./gen-shell-scripts ; cp ${SHELL_SCRIPTS} ../../bin ) +# copying icons for KDE. + mkdir -p ${INST_PREFIX}/../../usr/lib/menu + mkdir -p ${INST_PREFIX}/../../usr/share/pixmaps + cp ${INST_PREFIX}/OpenXM/rc/kde/openxm-binary-knoppix ${INST_PREFIX}/../../usr/lib/menu/openxm-binary + cp ${INST_PREFIX}/OpenXM/doc/OpenXM-web/hopo_std_color.xpm ${INST_PREFIX}/OpenXM/doc/OpenXM-web/logo-openxm2-color.xpm ${INST_PREFIX}/../../usr/share/pixmaps +# Do the final cleaning of /usr/local/OpenXM for knoppix package. + cp `pwd`/debian/delete-files-knoppix.sh ${INST_PREFIX}/../../ + (cd ${INST_PREFIX}/../../ ; ./delete-files-knoppix.sh ) + rm -f ${INST_PREFIX}/../../delete-files-knoppix.sh #dh_movefiles # Build architecture-independent files here.