Fix neqn building:

1) Move it after Makefile.inc included since it uses DIST_DIR from there
2) Add neqn.sh dependance
This commit is contained in:
Andrey A. Chernov 1997-09-15 01:56:29 +00:00
parent 580117026e
commit 40d7476321
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29437

View File

@ -12,9 +12,6 @@ DPADD+= ${LIBGROFF}
MANDEPEND= neqn.1 eqn.1
CLEANFILES+= eqn.cc eqn.tab.h neqn ${MANDEPEND}
neqn:
sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn
afterinstall: neqn
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
${DESTDIR}${BINDIR}
@ -23,3 +20,7 @@ beforedepend: eqn.cc
.include "../Makefile.cfg"
.include <bsd.prog.mk>
neqn: ${DIST_DIR}/neqn.sh
sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn