blob: 89b2c6a3112ac7884c0b5ffb43f57d08c75a90f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
From 2fd48166c8481ba441c3866d189f8f0396e0d89d Mon Sep 17 00:00:00 2001
From: Russell Harmon <russ@eatnumber1.com>
Date: Thu, 31 Dec 2009 11:00:25 -0500
Subject: [PATCH 1/2] Use -D when installing to create directories.
---
Makefile | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 308a5d5..1ac0746 100644
--- a/Makefile
+++ b/Makefile
@@ -29,19 +29,17 @@ all: xdotool xdotool.1
install: installlib installprog installman installheader
installprog: xdotool
- install -m 755 xdotool $(INSTALLBIN)/
+ install -D -m 755 xdotool $(INSTALLBIN)/xdotool
installlib: libxdo.so
- install libxdo.so $(INSTALLLIB)/libxdo.so.$(MINOR)
+ install -D libxdo.so $(INSTALLLIB)/libxdo.so.$(MINOR)
ln -sf libxdo.so.$(MINOR) $(INSTALLLIB)/libxdo.so
installheader: xdo.h
- install xdo.h $(INSTALLINCLUDE)/xdo.h
+ install -D xdo.h $(INSTALLINCLUDE)/xdo.h
installman: xdotool.1
- [ -d $(INSTALLMAN) ] || mkdir $(INSTALLMAN)
- [ -d $(INSTALLMAN)/man1 ] || mkdir $(INSTALLMAN)/man1
- install -m 644 xdotool.1 $(INSTALLMAN)/man1/
+ install -D -m 644 xdotool.1 $(INSTALLMAN)/man1/xdotool.1
deinstall: uninstall
uninstall:
--
1.6.4.4
|