From 40d747632170cde6819c1d6d9278f3358f61007a Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 15 Sep 1997 01:56:29 +0000 Subject: [PATCH] Fix neqn building: 1) Move it after Makefile.inc included since it uses DIST_DIR from there 2) Add neqn.sh dependance --- gnu/usr.bin/groff/eqn/Makefile | 7 ++++--- 1 file 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 + +neqn: ${DIST_DIR}/neqn.sh + sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn +