diff options
Diffstat (limited to 'meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch')
-rw-r--r-- | meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch b/meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch new file mode 100644 index 0000000000..20389d9c08 --- /dev/null +++ b/meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | --- man/Makefile.in 2008-12-21 19:19:33.000000000 +0100 | ||
2 | +++ man/Makefile.in.oden 2008-12-21 19:19:39.000000000 +0100 | ||
3 | @@ -34,6 +34,15 @@ | ||
4 | for i in $(MAN8); \ | ||
5 | do if test -f $$i.8; then $(INSTALL) $$i.8 $(mandir)/man8/$$i.@man8ext@; fi; done | ||
6 | |||
7 | +install-l10n: $(ALL) | ||
8 | + mkdir -p $(mandir)/$(SLANG)/man1 $(mandir)/$(SLANG)/man5 $(mandir)/$(SLANG)/man8 | ||
9 | + for i in $(MAN1); \ | ||
10 | + do $(INSTALL) $$i.1 $(mandir)/$(SLANG)/man1/$$i.@man1ext@; done | ||
11 | + for i in $(MAN5); \ | ||
12 | + do $(INSTALL) $$i.5 $(mandir)/$(SLANG)/man5/$$i.@man5ext@; done | ||
13 | + for i in $(MAN8); \ | ||
14 | + do if test -f $$i.8; then $(INSTALL) $$i.8 $(mandir)/$(SLANG)/man8/$$i.@man8ext@; fi; done | ||
15 | + | ||
16 | clean: | ||
17 | rm -f core *.in *.@man1ext@ *.@man5ext@ *.@man8ext@ *~ | ||
18 | |||
19 | @@ -49,7 +58,7 @@ | ||
20 | @for i in @languages@; do if test -d $$i; then echo; \ | ||
21 | echo "==== Installing the `cat $$i.txt` man pages. ===="; \ | ||
22 | cd $$i; SLANG=/$$i; if test $$SLANG = /en; then SLANG= ; fi; \ | ||
23 | - export SLANG; make -f ../Makefile install; cd ..; \ | ||
24 | + export SLANG; make -f ../Makefile install-l10n; cd ..; \ | ||
25 | else echo "==== No $$i man pages found. ===="; fi; done | ||
26 | |||
27 | cleansubdirs: | ||