File intel-cmt-cat-DESTDIR.patch of Package intel-cmt-cat.4747

---
 Makefile |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Index: Makefile
===================================================================
--- Makefile.orig	2016-02-15 11:18:39.000000000 +0100
+++ Makefile		2016-05-25 11:21:42.003925315 +0200
@@ -90,16 +90,16 @@ $(LIBNAME):
 	make -C lib all
 
 install: $(APP) $(MAN) lib/$(LIB) lib/$(HDR)
-	install -D -s $(APP) $(BIN_DIR)/$(APP)
-	install -m 0444 $(MAN) -D $(MAN_DIR)/$(MAN)
-	install -m 0644 lib/$(HDR) -D $(HDR_DIR)/$(HDR)
-	install -m 0644 lib/$(LIB) -D $(LIB_DIR)/$(LIB)
+	install -D -s $(APP) $(DESTDIR)$(BIN_DIR)/$(APP)
+	install -m 0444 $(MAN) -D $(DESTDIR)$(MAN_DIR)/$(MAN)
+	install -m 0644 lib/$(HDR) -D $(DESTDIR)$(HDR_DIR)/$(HDR)
+	install -m 0644 lib/$(LIB) -D $(DESTDIR)$(LIB_DIR)/$(LIB)
 
 uninstall:
-	-rm $(BIN_DIR)/$(APP)
-	-rm $(MAN_DIR)/$(MAN)
-	-rm $(HDR_DIR)/$(HDR)
-	-rm $(LIB_DIR)/$(LIB)
+	-rm $(DESTDIR)$(BIN_DIR)/$(APP)
+	-rm $(DESTDIR)$(MAN_DIR)/$(MAN)
+	-rm $(DESTDIR)$(HDR_DIR)/$(HDR)
+	-rm $(DESTDIR)$(LIB_DIR)/$(LIB)
 
 .PHONY: clean rinse TAGS install uninstall
openSUSE Build Service is sponsored by