Changeset 64c6d1 in git for doc


Ignore:
Timestamp:
Jun 3, 1998, 12:04:30 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
88e48a8bf8bdcee21c6f8cc76efb29c06ce04a7b
Parents:
b9d3335d3643e630740a082ced8fc9b82bc915e2
Message:
* new file/dir layout of LIBs, bin, doc:
  LIB stays in-place, (new)doc moves to root, tests is removed
* LIB loading with "~"
* SearchPath is dynamically determined (see febase.cc)
* info prog is searched for in bindir
* correct handling of .singurlarrc
* env variable SINGULARHIST is used for determining history-file
* res always returns resolution
* configure is more robust (i.e., complains earlier if something is
  wrong)


git-svn-id: file:///usr/local/Singular/svn/trunk@2022 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/Makefile.in

    rb9d333 r64c6d1  
    1313## directory where info files are installed
    1414prefix          = @prefix@
    15 infodir         = @infodir@
     15infodir         = ${prefix}/info
    1616
    1717##
     
    3030DVIPS           = dvips
    3131
    32 # directory where Singular executable is found
    33 SINGULARDIR     = ..
    34 
     32SINGULAR        = @SINGULAR@
    3533##
    3634## End configuration dependend stuff
     
    4442        singular.tex start.tex types.tex pdata.tex
    4543
    46 all: info dvi
     44all: info dvi 
    4745
    4846info: singular.hlp
     
    5654        ${DVIPS} singular.dvi -o
    5755        ${DVIPS} tutor.dvi -o
     56        ${DVIPS} usercard.dvi  -o
    5857
    5958singular.dvi:  ${SINGULAR_OBJS} ${TEX_FILES} Makefile
     
    9695        /bin/rm -f *.dvi singular.hlp configure ${SINGULAR_OBJS}
    9796
    98 singular.tex :  singular.doc  doc2tex ${SINGULARDIR}/Singular
    99         SINGULARPATH=${SINGULARDIR}/LIB; export SINGULARPATH; \
    100         PATH=`pwd`/${SINGULARDIR}:$(PATH); export PATH; \
    101         ./doc2tex ${SINGULARDIR}/Singular singular
     97singular.tex :  singular.doc  doc2tex ${SINGULAR}
     98        ./doc2tex ${SINGULAR} singular
    10299        echo expect one error
    103100        -grep "error occurred" singular.tex
    104101
    105 %.tex: %.doc doc2tex ${SINGULARDIR}/Singular
    106         SINGULARPATH=${SINGULARDIR}/LIB; export SINGULARPATH; \
    107         PATH=`pwd`/${SINGULARDIR}:$(PATH); export PATH; \
    108         ./doc2tex ${SINGULARDIR}/Singular $*
     102%.tex: %.doc doc2tex ${SINGULAR}
     103        ./doc2tex ${SINGULAR} $*
    109104        -grep "error occurred" $@
    110105
     
    113108        $(CC) doc2tex.c -o doc2tex
    114109
    115 ${SINGULARDIR}/Singular:
    116         cd ${SINGULARDIR}; ${MAKE} Singular
     110${SINGULAR}:
     111        cd ${prefix}; ${MAKE} ${SINGULAR}
    117112
    118113Makefile: Makefile.in
    119         cd ${SINGULARDIR}; ${MAKE} newdoc/Makefile
     114        cd ${prefix}; ${MAKE} Makefile
    120115
    121116#examples.tex: examples.doc
Note: See TracChangeset for help on using the changeset viewer.