summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-04-30 16:21:35 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-04-30 16:21:35 +0000
commitdfbad6ffd9fa4daf5721bff410b759fc5c08cbc7 (patch)
tree0be477c4811ed1ca8b9de40b197642029253335c
parent8940fd41a599388263da85f909358709a3a3c15e (diff)
use ${DESTDIR} in install* stuff. From form@.
millert@ ok
-rw-r--r--gnu/usr.bin/bc/bc/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/bc/bc/Makefile.in b/gnu/usr.bin/bc/bc/Makefile.in
index 26e25c491ea..24db7d355c3 100644
--- a/gnu/usr.bin/bc/bc/Makefile.in
+++ b/gnu/usr.bin/bc/bc/Makefile.in
@@ -297,10 +297,10 @@ libmath.h: libmath.b
install-data-local:
if grep -s "define BC_MATH_FILE" ../config.h; \
- then $(mkinstalldirs) $(libdir); \
- rm -f $(libdir)/libmath.b; \
- $(INSTALL_DATA) $(srcdir)/libmath.b $(libdir); \
- chmod 444 $(libdir)/libmath.b; \
+ then $(mkinstalldirs) $(DESTDIR)$(libdir); \
+ rm -f $(DESTDIR)$(libdir)/libmath.b; \
+ $(INSTALL_DATA) $(srcdir)/libmath.b $(DESTDIR)$(libdir); \
+ chmod 444 $(DESTDIR)$(libdir)/libmath.b; \
else true; \
fi
fbc: $(fbcOBJ)