[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: [PATCH 2/3] Delete manuals if compiling without docs
From: Pavel Roskin <proski () gnu ! org>
Date: 2006-06-30 5:09:26
Message-ID: 20060630050926.701.24647.stgit () dv ! roinet ! com
[Download RAW message or body]
From: Pavel Roskin <proski@gnu.org>
Otherwise, rpm would complain about unpacked files.
Signed-off-by: Pavel Roskin <proski@gnu.org>
---
git.spec.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/git.spec.in b/git.spec.in
index 8ccd256..b8feda3 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -86,6 +86,8 @@ make %{_smp_mflags} DESTDIR=$RPM_BUILD_R
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "arch|svn|cvs|email|gitk" | sed \
-e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files %if %{!?_without_docs:1}0
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE \
"arch|svn|git-cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> \
bin-man-doc-files +%else
+rm -rf $RPM_BUILD_ROOT%{_mandir}
%endif
%clean
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic