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