aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+