mtd/util Makefile,1.38,1.39
David Woodhouse
dwmw2 at infradead.org
Wed May 5 12:13:49 EDT 2004
Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv4824
Modified Files:
Makefile
Log Message:
Install man page too
Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/util/Makefile,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- Makefile 5 May 2004 15:57:31 -0000 1.38
+++ Makefile 5 May 2004 16:13:47 -0000 1.39
@@ -2,7 +2,9 @@
# -*- sh -*-
# $Id$
-PREFIX=/usr/sbin
+PREFIX=/usr
+SBINDIR=/usr/sbin
+MANDIR=/usr/man
#CROSS=arm-linux-
CC := $(CROSS)gcc
@@ -34,4 +36,6 @@
install: ${TARGETS}
mkdir -p ${DESTDIR}/${PREFIX}
- for a in ${TARGETS}; do install -m0755 -oroot -groot -s -D $$a ${DESTDIR}/${PREFIX}/$$a; done
+ for a in ${TARGETS}; do install -m0755 -oroot -groot -s -D $$a ${DESTDIR}/${SBINDIR}/$$a; done
+ mkdir -p ${MANDIR}/man/man1
+ gzip mkfs.jffs2.1 > ${MANDIR}/man/man1/mkfs.jffs2.1.gz
More information about the linux-mtd-cvs
mailing list