aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMatthias Köppe <mkoeppe@mail.math.uni-magdeburg.de>2004-04-26 10:24:12 +0000
committerMatthias Köppe <mkoeppe@mail.math.uni-magdeburg.de>2004-04-26 10:24:12 +0000
commited6a665f52d357f3fc1eb819fcde862aef6b6fa9 (patch)
treec7e977b1bbf1f11830bdfead87d519b914ae536e /Makefile.in
parent9ae5f973d2dfb271411693ab368d5319c3d78cee (diff)
downloadswig-ed6a665f52d357f3fc1eb819fcde862aef6b6fa9.tar.gz
Respect DESTDIR when installing the M4 macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index e2c629473..653b1b75b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -372,9 +372,9 @@ install-runtime:
install-m4:
@echo "Installing M4 macros"
- @$(MKINSTDIRS) $(M4_INSTALL_DIR)
- @echo "Installing $(M4_INSTALL_DIR)/swig.m4"
- @$(INSTALL_DATA) $(M4_SOURCE_DIR)/swig.m4 $(M4_INSTALL_DIR)/swig.m4
+ @$(MKINSTDIRS) $(DESTDIR)$(M4_INSTALL_DIR)
+ @echo "Installing $(DESTDIR)$(M4_INSTALL_DIR)/swig.m4"
+ @$(INSTALL_DATA) $(M4_SOURCE_DIR)/swig.m4 $(DESTDIR)$(M4_INSTALL_DIR)/swig.m4
#####################################################################