=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/Linux/Debian/debian/rules,v retrieving revision 1.6 retrieving revision 1.12 diff -u -p -r1.6 -r1.12 --- OpenXM/misc/packages/Linux/Debian/debian/rules 2004/02/24 06:16:31 1.6 +++ OpenXM/misc/packages/Linux/Debian/debian/rules 2004/03/03 01:58:05 1.12 @@ -24,9 +24,9 @@ SHARED_FILES = OpenXM/Copyright OpenXM/doc OpenXM/incl BINARY_FILES = OpenXM/bin OpenXM/lib/*.a OpenXM/lib/*.so* OpenXM/lib/*.a.* \ OpenXM/rc MAN_PAGES = openxm.1 sm1.1 -EXECUTABLES = gnuplot4ox gnuplot_x11 k0 ox ox_sm1 oxlog oxweave sm1 tigers +EXECUTABLES = gnuplot4ox gnuplot_x11 k0 ox ox_sm1 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 @@ -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 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.