aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-09-15 01:56:29 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-09-15 01:56:29 +0000
commit40d747632170cde6819c1d6d9278f3358f61007a (patch)
treee943a1c0da3e9e306b8d1845c3bffc11eee56aeb
parent580117026e8d0ea6d6df1abe3af5fcffdfbe2818 (diff)
downloadsrc-40d747632170cde6819c1d6d9278f3358f61007a.tar.gz
src-40d747632170cde6819c1d6d9278f3358f61007a.zip
Fix neqn building:
1) Move it after Makefile.inc included since it uses DIST_DIR from there 2) Add neqn.sh dependance
Notes
Notes: svn path=/head/; revision=29437
-rw-r--r--gnu/usr.bin/groff/eqn/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/groff/eqn/Makefile b/gnu/usr.bin/groff/eqn/Makefile
index 1e3fc8032064..c7773ccd95a2 100644
--- a/gnu/usr.bin/groff/eqn/Makefile
+++ b/gnu/usr.bin/groff/eqn/Makefile
@@ -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
+