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:
ache 1997-09-15 01:56:29 +00:00
parent be830b8d98
commit 2738d4da18

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