xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/parted/files/fix-doc-mandir.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunUpstream-Status: Submitted [bug-parted@gnu.org]
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun| for po in `ls -1 ./*.pt_BR.po 2>/dev/null`; do \
4*4882a593Smuzhiyun| 		make $(basename ${po%.pt_BR.po}); \
5*4882a593Smuzhiyun| 	done
6*4882a593Smuzhiyun| Makefile:904: *** Recursive variable `mandir' references itself (eventually).  Stop.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSigned-off-by: Andreas Oberritter <obi@opendreambox.org>
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun--- parted-3.1/doc/po4a.mk.orig	2012-03-15 14:09:11.555831872 +0100
11*4882a593Smuzhiyun+++ parted-3.1/doc/po4a.mk	2012-03-15 14:10:44.243830985 +0100
12*4882a593Smuzhiyun@@ -23,7 +23,7 @@
13*4882a593Smuzhiyun # threshold is 80%), it won't be distributed, and the build won't fail.
14*4882a593Smuzhiyun #
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun-mandir = $(mandir)/$(lang)
17*4882a593Smuzhiyun+mandir := $(mandir)/$(lang)
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun # Inform automake that we want to install some man pages in section 1, 5
20*4882a593Smuzhiyun # and 8.
21