File add-destdir.patch of Package trayer-srg

commit 568527b0304b8d2ce1394860ce6612b24e6305d4
Author: Jan (yac) Matějka <JMatejka@suse.cz>
Date:   Thu Jun 19 17:43:50 2014 +0200

    Add DESTDIR

diff --git a/Makefile b/Makefile
index 4259a33..8a3e5d0 100644
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,8 @@ distclean:
 	rm -f Makefile.config config.h
 
 install: 
-	install -d $(PREFIX)/bin
-	install -m 755 $(TARGET) $(PREFIX)/bin
+	install -d $(DESTDIR)$(PREFIX)/bin
+	install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin
 
 uninstall:
-	rm -f $(PREFIX)/bin/$(TARGET)
+	rm -f $(DESTDIR)$(PREFIX)/bin/$(TARGET)
openSUSE Build Service is sponsored by