summaryrefslogtreecommitdiff
path: root/extra/bootchart/build.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-29 00:01:17 +0000
committerroot <root@rshg054.dnsready.net>2012-03-29 00:01:17 +0000
commit44ded298ebb49500d321ac79b7d0d8bb4d5058ec (patch)
tree62011c680c3a7a6dbdf4791b1eec2a23daab7b3a /extra/bootchart/build.patch
parenta26ce336126d18cde915c2331250b8dfbffc24f8 (diff)
Thu Mar 29 00:01:17 UTC 2012
Diffstat (limited to 'extra/bootchart/build.patch')
-rw-r--r--extra/bootchart/build.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/bootchart/build.patch b/extra/bootchart/build.patch
new file mode 100644
index 000000000..82c6e1bfd
--- /dev/null
+++ b/extra/bootchart/build.patch
@@ -0,0 +1,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
+