Respect DESTDIR when uninstalling M4 macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9701c4186a
commit
e452bb52fd
1 changed files with 3 additions and 3 deletions
|
|
@ -364,7 +364,7 @@ uninstall: uninstall-main uninstall-lib uninstall-m4
|
|||
@echo "Uninstall complete"
|
||||
|
||||
uninstall-main:
|
||||
@echo "Uninstalling $(BIN_DIR)/$(TARGET)"
|
||||
@echo "Uninstalling $(DESTDIR)$(BIN_DIR)/$(TARGET)"
|
||||
rm -f $(DESTDIR)$(BIN_DIR)/$(TARGET)
|
||||
|
||||
uninstall-lib:
|
||||
|
|
@ -372,8 +372,8 @@ uninstall-lib:
|
|||
rm -rf $(DESTDIR)$(SWIG_LIB)/
|
||||
|
||||
uninstall-m4:
|
||||
@echo "Uninstalling $(M4_INSTALL_DIR)/swig.m4"
|
||||
rm -f $(M4_INSTALL_DIR)/swig.m4
|
||||
@echo "Uninstalling $(DESTDIR)$(M4_INSTALL_DIR)/swig.m4"
|
||||
rm -f $(DESTDIR)$(M4_INSTALL_DIR)/swig.m4
|
||||
|
||||
############################################################################
|
||||
# DIST and other maintenance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue