diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-19 16:02:03 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@intel.com> | 2011-11-22 23:31:24 +0200 |
commit | 4ff3ab5a610fc150ec50bf16b1fb0b0c00e281a2 (patch) | |
tree | 8c57586f8f7abc3eef4e4103460a08c8b37b2e91 /Makefile | |
parent | 952f4b15bd0bbcd2d7ef1a60e316fab309dcce5a (diff) |
Makefile: separate man page install and compression steps
If the system doesn't have gzip installed, we should still be able
to install the man pages. So install the file in one step, and then
compress it in another (and ignore failures from that).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -62,7 +62,8 @@ install:: $(addprefix $(BUILDDIR)/,${BINS}) ${SCRIPTS} mkdir -p ${DESTDIR}/${SBINDIR} install -m 0755 $^ ${DESTDIR}/${SBINDIR}/ mkdir -p ${DESTDIR}/${MANDIR}/man1 - gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz + install -m 0644 mkfs.jffs2.1 ${DESTDIR}/${MANDIR}/man1/ + -gzip -9f ${DESTDIR}/${MANDIR}/man1/*.1 tests:: $(MAKE) -C $(TESTS) |