2
0
Эх сурвалжийг харах

oops, fix .common_uninstall make-target

[skip-ci]
Steffen Jaeckel 8 жил өмнө
parent
commit
a22140f94c
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      makefile_include.mk

+ 2 - 2
makefile_include.mk

@@ -412,8 +412,8 @@ install_hooks: $(call print-help,install_hooks,Installs the git hooks)
 
 HEADER_FILES=$(notdir $(HEADERS))
 .common_uninstall:
-	$(UNINSTALL_CMD) $(LIBPATH)/$(LIBNAME)
-	rm $(HEADER_FILES:%=$(INCPATH)/%)
+	$(UNINSTALL_CMD) $(DESTDIR)$(LIBPATH)/$(LIBNAME)
+	rm $(HEADER_FILES:%=$(DESTDIR)$(INCPATH)/%)
 
 #This rule cleans the source tree of all compiled code, not including the pdf
 #documentation.