summaryrefslogtreecommitdiff
blob: 5b2372242e144a9bc58648f9472a56517825d6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in
--- spacenavd-0.5.orig/Makefile.in	2011-11-16 21:43:53.210859753 +0100
+++ spacenavd-0.5/Makefile.in	2011-11-16 21:45:36.386857932 +0100
@@ -24,9 +24,9 @@ clean:
 
 .PHONY: install
 install: $(bin)
-	$(INSTALL) -d $(PREFIX)/bin
-	$(INSTALL) -m 755 $(bin) $(PREFIX)/bin/$(bin)
-	$(INSTALL) -m 755 $(srcdir)/$(ctl) $(PREFIX)/bin/$(ctl)
+	$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
+	$(INSTALL) -m 755 $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin)
+	$(INSTALL) -m 755 $(srcdir)/$(ctl) $(DESTDIR)$(PREFIX)/bin/$(ctl)
 	cd $(srcdir) && ./setup_init --no-install
 
 #	[ -d /etc/hal/fdi/policy ] && \