source: git/emacs/Makefile.in @ 7022cd

spielwiese
Last change on this file since 7022cd was 7022cd, checked in by Olaf Bachmann <obachman@…>, 23 years ago
* added stuff for singular-standard-libraries-with-categories git-svn-id: file:///usr/local/Singular/svn/trunk@4953 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[b00a82]1#####################################################################
2###
3### Makefile for emacs stuff
4###
5#####################################################################
6SHELL=/bin/sh
7
8prefix          = @prefix@
9docdir          = ${prefix}/doc
[c04b94]10examplesdir     = ${prefix}/examples
[b00a82]11SINGULAR        = @SINGULAR@
[7022cd]12singulardir     = ${prefix}/Singular
[4b72f6]13emacsdir        = ${install_prefix}/emacs
14
[7022cd]15
[a70441f]16PERL            = @PERL@
[4b72f6]17INSTALL         = ../install-sh -c
18INSTALL_DATA    = ${INSTALL} -m 644
19MKINSTALLDIRS   = ../mkinstalldirs
[b00a82]20
21SINGULAR_HLP    = ${docdir}/singular.hlp
22
[c04b94]23all install: cmd-cmpl.el hlp-cmpl.el lib-cmpl.el ex-cmpl.el
[b00a82]24
25cmd-cmpl.el: ${SINGULAR} cmpl.pl
[a70441f]26        ${PERL} cmpl.pl -Singular ${SINGULAR} -cmpl cmd > cmd-cmpl.el
[b00a82]27
28hlp-cmpl.el: ${SINGULAR_HLP} cmpl.pl
[a70441f]29        ${PERL} cmpl.pl -hlp ${SINGULAR_HLP} -cmpl hlp > hlp-cmpl.el
[b00a82]30
[c04b94]31ex-cmpl.el: cmpl.pl ${examplesdir}
[a70441f]32                ${PERL} cmpl.pl -cmpl ex -ex_dir ${examplesdir} > ex-cmpl.el
[c04b94]33
[7022cd]34lib-cmpl-old.el: ${prefix}/Singular/Makefile cmpl.pl
[b16f9af]35        ${MAKE} --no-print-directory -s -f ${prefix}/Singular/Makefile echoLIBS > lib-temp
[7022cd]36        cat lib-temp | ${PERL} cmpl.pl -cmpl lib > lib-cmpl-old.el
[b16f9af]37        rm lib-temp
38
[7022cd]39lib-cmpl.el: ${prefix}/Singular/Makefile lib.pl
40        ${MAKE} --no-print-directory -s -f ${prefix}/Singular/Makefile echoLIBS > lib-temp
41        ${PERL} lib.pl -s ${singulardir} `cat lib-temp` > lib-cmpl.el
42
[aac46c]43clean mostlyclean distclean:
[b4539b4]44        rm -f cmd-cmpl.el hlp-cmpl.el lib-cmpl.el ex-cmpl.el
[b00a82]45
[4b72f6]46install-sharedist: all
47        ${MKINSTALLDIRS} ${emacsdir}
48        ${INSTALL_DATA} cmd-cmpl.el ${emacsdir}
49        ${INSTALL_DATA} lib-cmpl.el ${emacsdir}
50        ${INSTALL_DATA} hlp-cmpl.el ${emacsdir}
[c04b94]51        ${INSTALL_DATA} ex-cmpl.el ${emacsdir}
[4b72f6]52        ${INSTALL_DATA} singular.el ${emacsdir}
53        ${INSTALL_DATA} .emacs-singular ${emacsdir}
[880ed2]54        ${INSTALL_DATA} .emacs-general ${emacsdir}
[4b72f6]55        ${INSTALL_DATA} sing.xpm        ${emacsdir}
[b00a82]56
Note: See TracBrowser for help on using the repository browser.