forgot about make install :

install: strip installbin installdoc

PREFIX=/usr
#PREFIX=/usr/local
BINDIR=${PREFIX}/bin
DOCDIR=${PREFIX}/share/doc/mg3a
DOCFILES=README README.misc README.programmer README.reference \
        orig/mgprog.doc orig/README orig/tutorial
SAMPDIR=${DOCDIR}/examples
SAMFILES=.mg .mg-cygwin .mg-xterm

installbin:
        cp mg.exe /usr/local/bin
installdoc:
        mkdir -p ${DOCDIR}/orig ${SAMPDIR}
for file in ${SAMFILES}; do cp bl/$${file} ${SAMPDIR}/dot$${file}; done
        for file in ${DOCFILES}; do cp $${file} ${DOCDIR}/$${file}; done

Regards,

Cyrille Lefevre
--
mailto:cyrille.lefevre-li...@laposte.net


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to