blob: 9aea036c20ee35a9edb34c5f9184b0ace26bf258 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- Makefile.in.orig 2015-09-09 20:50:10 UTC
+++ Makefile.in
@@ -44,11 +44,11 @@ test: regression
./regression
install: $(TARGETLIB) $(TARGETSHLIB)
- $(MKDIR) $(libdir)
- $(MKDIR) $(includedir)
- $(INSTALL_DATA) $(TARGETLIB) $(TARGETSHLIB) $(libdir)/
+ $(MKDIR) $(DESTDIR)$(libdir)
+ $(MKDIR) $(DESTDIR)$(includedir)
+ $(INSTALL_DATA) $(TARGETLIB) $(TARGETSHLIB) $(DESTDIR)$(libdir)/
for i in $(TARGETINCS);do \
- (set -x;$(INSTALL_DATA) $(srcdir)/$$i $(includedir)); \
+ (set -x;$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)); \
done
regression: regression.o $(TARGETLIB)
|