summaryrefslogtreecommitdiff
path: root/recipes/keylaunch/files/makefile-fix.patch
blob: 0e53e4e7f1b29c523baf7deaf88916113f3c8f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- keylaunch-2.0.10/Makefile.orig	2007-05-25 18:13:39.000000000 +0200
+++ keylaunch-2.0.10/Makefile	2007-05-25 18:15:47.000000000 +0200
@@ -31,8 +31,10 @@
 	$(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
 
 install-program: all
-	install -sD $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
-	install -D -m 644 $(PROG)rc $(DESTDIR)/etc/$(PROG)rc
+	install -d $(DESTDIR)$(PREFIX)/bin
+	install $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
+	install -d $(DESTDIR)/etc
+	install -m 644 $(PROG)rc $(DESTDIR)/etc/$(PROG)rc
 	install -d $(DESTDIR)/etc/X11/Xsession.d
 	install 90$(PROG)  $(DESTDIR)/etc/X11/Xsession.d/90$(PROG)
 	install -d $(DESTDIR)/etc/X11/Xinit.d