From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 88C7E13848C for ; Mon, 14 Jan 2013 17:16:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B37821C098; Mon, 14 Jan 2013 17:16:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EF3F21C098 for ; Mon, 14 Jan 2013 17:16:30 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B88A333D7CC for ; Mon, 14 Jan 2013 17:16:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4791DE4073 for ; Mon, 14 Jan 2013 17:16:28 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1358183774.5f56378534e08492740bdac514d3509319cd19a9.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: / X-VCS-Repository: proj/portage X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 5f56378534e08492740bdac514d3509319cd19a9 X-VCS-Branch: master Date: Mon, 14 Jan 2013 17:16:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6e14780e-3798-469d-a4b4-e72d1e1732df X-Archives-Hash: eb7968f5b1b9fcfe243c21ef10ddd4bd commit: 5f56378534e08492740bdac514d3509319cd19a9 Author: Zac Medico gentoo org> AuthorDate: Mon Jan 14 17:16:14 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Jan 14 17:16:14 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5f563785 Makefile: install man/ru/* --- Makefile | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f5263f3..247c054 100644 --- a/Makefile +++ b/Makefile @@ -184,10 +184,16 @@ install: cd "$(srcdir)"; \ install -m $(INSMODE) $(DOCS) "$(DESTDIR)$(docdir)"; \ \ - for x in 1 5 ; do \ - install -d -m$(DIRMODE) "$(DESTDIR)$(mandir)/man$$x"; \ - cd "$(srcdir)/man"; \ - install -m$(INSMODE) *.$$x "$(DESTDIR)$(mandir)/man$$x"; \ + for x in "" $$(cd "$(srcdir)/man" && find -type d) ; do \ + for y in 1 5 ; do \ + cd "$(srcdir)/man/$$x"; \ + files=$$(echo *.$$y); \ + if [ -z "$$files" ] || [ "$$files" = "*.$$y" ]; then \ + continue; \ + fi; \ + install -d -m$(DIRMODE) "$(DESTDIR)$(mandir)/$$x/man$$y"; \ + install -m$(INSMODE) *.$$y "$(DESTDIR)$(mandir)/$$x/man$$y"; \ + done; \ done; \ \ if [ -f "$(srcdir)/doc/portage.html" ] ; then \