swig/swig-1.3.21-destdir.patch

24 lines
830 B
Diff
Raw Normal View History

--- SWIG-1.3.21/Makefile.in.destdir 2004-05-04 15:03:07.651571157 +0200
+++ SWIG-1.3.21/Makefile.in 2004-05-04 15:03:58.278335334 +0200
@@ -365,9 +365,9 @@
install-m4:
@echo "Installing M4 macros"
- @$(MKINSTDIRS) $(M4_INSTALL_DIR)
+ @$(MKINSTDIRS) $(DESTDIR)$(M4_INSTALL_DIR)
@echo "Installing $(M4_INSTALL_DIR)/swig.m4"
- @$(INSTALL_DATA) $(M4_SOURCE_DIR)/swig.m4 $(M4_INSTALL_DIR)/swig.m4
+ @$(INSTALL_DATA) $(M4_SOURCE_DIR)/swig.m4 $(DESTDIR)$(M4_INSTALL_DIR)/swig.m4
#####################################################################
@@ -390,7 +390,7 @@
uninstall-m4:
@echo "Uninstalling $(M4_INSTALL_DIR)/swig.m4"
- rm -f $(M4_INSTALL_DIR)/swig.m4;
+ rm -f $(DESTDIR)$(M4_INSTALL_DIR)/swig.m4;
############################################################################
# DIST and other maintenance