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 5C427138884 for ; Tue, 5 Feb 2013 13:53:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2ABE2E0123; Tue, 5 Feb 2013 13:53:32 +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 82E6DE0123 for ; Tue, 5 Feb 2013 13:53:31 +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 8608D33DEFD for ; Tue, 5 Feb 2013 13:53:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2C6D1E4083 for ; Tue, 5 Feb 2013 13:53:29 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1360072464.1dce300ac53801216aa28b6e5fc4a522e2a03c2c.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: .gitignore Makefile.am X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: 1dce300ac53801216aa28b6e5fc4a522e2a03c2c X-VCS-Branch: master Date: Tue, 5 Feb 2013 13:53:29 +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: 60d4348c-ee65-478d-8534-2acc86bf4e90 X-Archives-Hash: 0fb9d411277bc46dab371104a58ed753 commit: 1dce300ac53801216aa28b6e5fc4a522e2a03c2c Author: Sven Eden gmx de> AuthorDate: Tue Feb 5 13:54:24 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Tue Feb 5 13:54:24 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=1dce300a Added setting of the local EPREFIX in ufed.8 man page. --- .gitignore | 2 +- Makefile.am | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 06a3828..8801d59 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,4 @@ stamp* ufed ufed-curses testflags.txt - +ufed.8 diff --git a/Makefile.am b/Makefile.am index 3bbcd4c..aaf93cd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,6 +2,7 @@ PACKAGE_VERSION = @PACKAGE_VERSION@ PERL = @PERL@ libexecdir = @libdir@/@PACKAGE@ perldir = @datadir@/@PACKAGE@ +E_PREFIX := $(shell portageq envvar EPREFIX 2>/dev/null) sbin_SCRIPTS = ufed libexec_PROGRAMS = ufed-curses @@ -22,7 +23,7 @@ noinst_HEADERS = \ ufed-curses-types.h dist_man_MANS = ufed.8 -EXTRA_DIST = ufed.pl.in +EXTRA_DIST = ufed.pl.in ufed.8.in ufed: ufed.pl.in rm -f $@.tmp @@ -34,3 +35,11 @@ ufed: ufed.pl.in $< >$@.tmp chmod +x $@.tmp mv $@.tmp $@ + +ufed.8: ufed.8.in + rm -f $@.tmp + sed \ + -e 's|@GENTOO_PORTAGE_EPREFIX@|$(E_PREFIX)|g' \ + $< >$@.tmp + chmod +x $@.tmp + mv $@.tmp $@