##// END OF EJS Templates
contrib/mercurial.spec: Use DESTDIR variable and 'make install'
Mads Kiilerich -
r11062:a2a6fd10 default
parent child Browse files
Show More
@@ -38,8 +38,7 b' make all'
38
38
39 %install
39 %install
40 rm -rf $RPM_BUILD_ROOT
40 rm -rf $RPM_BUILD_ROOT
41 python setup.py install --root $RPM_BUILD_ROOT --prefix %{_prefix}
41 make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} MANDIR=%{_mandir}
42 make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
43
42
44 install contrib/hgk $RPM_BUILD_ROOT%{_bindir}
43 install contrib/hgk $RPM_BUILD_ROOT%{_bindir}
45 install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo
44 install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo
General Comments 0
You need to be logged in to leave comments. Login now