summaryrefslogtreecommitdiff
path: root/system/powertop/Makefile.patch
blob: 848963c71782cf1f7af6e26df5dd58645c719b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Makefile~	2007-06-17 10:59:11.000000000 -0500
+++ Makefile	2007-07-07 14:56:44.000000000 -0500
@@ -1,8 +1,9 @@
 BINDIR=/usr/bin
 LOCALESDIR=/usr/share/locale
-MANDIR=/usr/share/man/man1
+MANDIR=/usr/man/man1
 WARNFLAGS=-Wall  -W -Wshadow
-CFLAGS?=-Os -g ${WARNFLAGS}
+CFLAGS?=-Os -g
+CFLAGS+=${WARNFLAGS}
 CC?=gcc
 
 
@@ -24,7 +25,7 @@
 	@(cd po/ && $(MAKE))
 
 powertop.1.gz: powertop.1
-	gzip -c $< > $@
+	gzip -9 -c $< > $@
 
 install: powertop powertop.1.gz
 	mkdir -p ${DESTDIR}${BINDIR}