diff options
author | Matthias Köppe <mkoeppe@mail.math.uni-magdeburg.de> | 2004-04-26 10:24:12 +0000 |
---|---|---|
committer | Matthias Köppe <mkoeppe@mail.math.uni-magdeburg.de> | 2004-04-26 10:24:12 +0000 |
commit | ed6a665f52d357f3fc1eb819fcde862aef6b6fa9 (patch) | |
tree | c7e977b1bbf1f11830bdfead87d519b914ae536e /Makefile.in | |
parent | 9ae5f973d2dfb271411693ab368d5319c3d78cee (diff) | |
download | swig-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.in | 6 |
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 ##################################################################### |