Unify macro usage in install section
This commit is contained in:
parent
b70a031518
commit
700bcc96d2
@ -65,7 +65,7 @@ popd
|
|||||||
%install
|
%install
|
||||||
pushd %{archive_path}
|
pushd %{archive_path}
|
||||||
# make install expects existing directory tree
|
# make install expects existing directory tree
|
||||||
mkdir -m 0755 -p %{buildroot}%{_prefix}{/bin,/include}
|
mkdir -m 0755 -p %{buildroot}{%{_bindir},%{_includedir}}
|
||||||
mkdir -m 0755 -p %{buildroot}{%{_libdir},%{_mandir}/man1}
|
mkdir -m 0755 -p %{buildroot}{%{_libdir},%{_mandir}/man1}
|
||||||
make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} install
|
make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} install
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user