aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@iki.fi>2008-04-11 12:27:38 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 16:25:31 +0300
commitc446765460a7680b45f4ca8aab9bdc7a7141beec (patch)
tree17f5f26ce5e5c12025a90640a54f253f281fcf42 /Makefile
parente6c387a96f6c3cae91e5bf1a6f7e6574cbe03b80 (diff)
Use LSB locations for manpages
LSB says manpages belong to /usr/share/man, adjust makefile defaults accordingly. Signed-off-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5f0cef6..9f5ef6c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
OPTFLAGS := -O2 -Wall
SBINDIR=/usr/sbin
-MANDIR=/usr/man
+MANDIR=/usr/share/man
INCLUDEDIR=/usr/include
#CROSS=arm-linux-
CC := $(CROSS)gcc
@@ -92,5 +92,5 @@ install: ${TARGETS}
mkdir -p ${DESTDIR}/${SBINDIR}
install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
mkdir -p ${DESTDIR}/${MANDIR}/man1
- gzip -c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz
+ gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz
make -C $(BUILDDIR)/ubi-utils install