Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
RPM spec: Adjust htmldir
author
Junio C Hamano
<gitster@pobox.com>
Wed, 12 Dec 2007 22:00:24 +0000
(14:00 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 13 Dec 2007 01:41:58 +0000
(17:41 -0800)
git help -w needs to know the right location of installed pages.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.spec.in
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
22c9071
)
diff --git
a/git.spec.in
b/git.spec.in
index d94bf6ad9ea391b6633bd2a36820957a20cc683d..3e5bebba05e354dabdf0fd1830b932a164d16fe3 100644
(file)
--- a/
git.spec.in
+++ b/
git.spec.in
@@
-83,19
+83,20
@@
BuildRequires: perl(Error)
%description -n perl-Git
Perl interface to Git
%description -n perl-Git
Perl interface to Git
+%define path_settings ETC_GITCONFIG=/etc/gitconfig prefix=%{_prefix} mandir=%{_mandir} htmldir=%{_docdir}/%{name}-core-%{version}
+
%prep
%setup -q
%build
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
%prep
%setup -q
%build
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
-
ETC_GITCONFIG=/etc/gitconfig
\
-
prefix=%{_prefix}
all %{!?_without_docs: doc}
+
%{path_settings}
\
+ all %{!?_without_docs: doc}
%install
rm -rf $RPM_BUILD_ROOT
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
%install
rm -rf $RPM_BUILD_ROOT
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
- prefix=%{_prefix} mandir=%{_mandir} \
- ETC_GITCONFIG=/etc/gitconfig \
+ %{path_settings} \
INSTALLDIRS=vendor install %{!?_without_docs: install-doc}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
INSTALLDIRS=vendor install %{!?_without_docs: install-doc}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
@@
-171,6
+172,9
@@
rm -rf $RPM_BUILD_ROOT
%{!?_without_docs: %doc Documentation/technical}
%changelog
%{!?_without_docs: %doc Documentation/technical}
%changelog
+* Wed Dec 12 2007 Junio C Hamano <gitster@pobox.com>
+- Adjust htmldir to point at /usr/share/doc/git-core-$version/
+
* Sun Jul 15 2007 Sean Estabrooks <seanlkml@sympatico.ca>
- Removed p4import.
* Sun Jul 15 2007 Sean Estabrooks <seanlkml@sympatico.ca>
- Removed p4import.