From: Riku Voipio <riku.voipio@iki.fi>
To: linux-mtd@lists.infradead.org
Subject: [PATCH] Use LSB locations for manpages
Date: Fri, 11 Apr 2008 12:27:38 +0300 [thread overview]
Message-ID: <20080411092738.GA21208@kos.to> (raw)
LSB says manpages belong to /usr/share/man, adjust makefile
defaults accordingly.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
---
Makefile | 4 ++--
ubi-utils/Makefile | 2 +-
2 files changed, 3 insertions(+), 3 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
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile
index 8c1994c..e86738b 100644
--- a/ubi-utils/Makefile
+++ b/ubi-utils/Makefile
@@ -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
--
1.5.4.5
--
"rm -rf" only sounds scary if you don't have backups
reply other threads:[~2008-04-11 9:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080411092738.GA21208@kos.to \
--to=riku.voipio@iki.fi \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).