Skip to contentSkip to conversation

Use LSB locations for manpages

PATCH New Riku Voipio 1 participant 1 message Apr 11, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use LSB locations for manpages

LSB says manpages belong to /usr/share/man, adjust makefile defaults accordingly.

---
 Makefile           |    4 ++--
 ubi-utils/Makefile |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Makefile +2 -2
index 5f0cef6..9f5ef6c 100644
@@ -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
ubi-utils/Makefile +1 -1
index 8c1994c..e86738b 100644
@@ -6,7 +6,7 @@ OPTFLAGS := -O2 -g -Wall
 KERNELHDR := ../include
 DESTDIR := /usr/local
 SBINDIR=/usr/sbin
-MANDIR=/usr/man
+MANDIR=/usr/share/man
 INCLUDEDIR=/usr/include
 
 CC := $(CROSS)gcc
Signature · 5 lines
1.5.4.5


-- 
"rm -rf" only sounds scary if you don't have backups