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