dosfstools: switch back to release tarballs, update patches to the latest sent upstream
[openwrt/staging/chunkeey.git] / tools / dosfstools / patches / 0008-Makefile-avoid-using-install-D.patch
1 From 02b5a6d9a407daebe903fe64fb1b22673aaa7e92 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Thu, 26 Feb 2015 12:51:23 +0100
4 Subject: [PATCH 08/14] Makefile: avoid using install -D
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 OS X and FreeBSD are not compatible with this option
10
11 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
12 Signed-off-by: Andreas Bombe <aeb@debian.org>
13 ---
14 Makefile | 6 ++++--
15 1 file changed, 4 insertions(+), 2 deletions(-)
16
17 diff --git a/Makefile b/Makefile
18 index d25510f..1593f3d 100644
19 --- a/Makefile
20 +++ b/Makefile
21 @@ -62,7 +62,8 @@ install-man:
22 for MANPAGE in manpages/en/*; \
23 do \
24 SECTION="8"; \
25 - install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/man$${SECTION}/$$(basename $${MANPAGE}); \
26 + mkdir -p $(DESTDIR)/$(MANDIR)/man$${SECTION}/; \
27 + install -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/man$${SECTION}/$$(basename $${MANPAGE}); \
28 done
29
30 for LANGUAGE in $(LANGUAGES); \
31 @@ -70,7 +71,8 @@ install-man:
32 for MANPAGE in manpages/$${LANGUAGE}/*; \
33 do \
34 SECTION="8"; \
35 - install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
36 + mkdir -p $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/; \
37 + install -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
38 done; \
39 done
40 install-symlinks: install-bin install-man
41 --
42 1.9.1
43