Explicitly remove file before creating it.
This commit is contained in:
parent
69aaa6cd28
commit
c13d36b588
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.8 1993/10/01 00:16:44 jtc Exp $
|
||||
# $Id: Makefile,v 1.9 1995/06/10 20:37:55 mycroft Exp $
|
||||
|
||||
PROG= eqn
|
||||
SRCS= main.cc lex.cc box.cc limit.cc list.cc over.cc text.cc\
|
||||
@ -13,6 +13,7 @@ CLEANFILES+= eqn.cc eqn.tab.h
|
||||
lex.o: eqn.cc
|
||||
|
||||
afterinstall:
|
||||
rm -f ${DESTDIR}${BINDIR}/neqn
|
||||
sed -e 's/@g@/$(g)/g' $(.CURDIR)/neqn.sh > $(DESTDIR)$(BINDIR)/neqn
|
||||
chown ${BINOWN}:${BINGRP} $(DESTDIR)$(BINDIR)/neqn
|
||||
chmod ${BINMODE} $(DESTDIR)$(BINDIR)/neqn
|
||||
|
Loading…
Reference in New Issue
Block a user