This commit is contained in:
parent
63f7b241b8
commit
79c8fa4437
@ -341,7 +341,13 @@ make test_dynamic
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if 0%{?suse_version} >= 1315
|
||||||
%make_install pkgdocdir=%{_defaultdocdir}/%{name}-%{maj}/
|
%make_install pkgdocdir=%{_defaultdocdir}/%{name}-%{maj}/
|
||||||
|
%else
|
||||||
|
make install \
|
||||||
|
DESTDIR=%{buildroot} \
|
||||||
|
pkgdocdir=%{_defaultdocdir}/%{name}-%{maj}/
|
||||||
|
%endif
|
||||||
# symlink header file relative to /usr/include/ImageMagick-7/
|
# symlink header file relative to /usr/include/ImageMagick-7/
|
||||||
# so that inclusions like wand/*.h and magick/*.h work
|
# so that inclusions like wand/*.h and magick/*.h work
|
||||||
ln -s ./MagickCore %{buildroot}%{_includedir}/%{name}-%{maj}/magick
|
ln -s ./MagickCore %{buildroot}%{_includedir}/%{name}-%{maj}/magick
|
||||||
|
Loading…
x
Reference in New Issue
Block a user