blob: 82c6e1bfd737fc195b715d507886f03d5d72a98a (
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
|
From 4fe62e6b4c072676d246be02ba92a1df3a9d0feb Mon Sep 17 00:00:00 2001
From: Tom Gundersen <teg@jklm.no>
Date: Fri, 16 Mar 2012 01:34:10 +0100
Subject: [PATCH] Makefile: move binary and avoid empty dirs
Install to /usr/bin by default, and don't install an empty /etc.
---
Makefile | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 566a848..c017509 100644
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,10 @@ CC := gcc
all: bootchartd
install: bootchartd
- mkdir -p $(DESTDIR)/sbin
- mkdir -p $(DESTDIR)/etc
- mkdir -p $(DESTDIR)/usr/share/doc/bootchart/
- install -m0755 bootchartd $(DESTDIR)/sbin/
- install -m0644 bootchartd.conf.example $(DESTDIR)/usr/share/doc/bootchart/
- install -m0644 README COPYING $(DESTDIR)/usr/share/doc/bootchart/
+ install -d $(DESTDIR)/usr/bin
+ install -d $(DESTDIR)/usr/share/doc/bootchart
+ install -m0755 bootchartd $(DESTDIR)/usr/bin/
+ install -m0644 README COPYING bootchartd.conf.example $(DESTDIR)/usr/share/doc/bootchart/
OBJS := log.o svg.o bootchart.o
--
1.7.9.4
|