Make doc part of SUBDIRS so that 'make install' installs man pages
[yaz-moved-to-github.git] / yaz.spec.in
index 21ff98b..94b432b 100644 (file)
@@ -26,7 +26,6 @@ make CFLAGS="$RPM_OPT_FLAGS"
 %install
 rm -fr $RPM_BUILD_ROOT
 make prefix=$RPM_BUILD_ROOT/usr install
-cd doc; make prefix=$RPM_BUILD_ROOT/usr install
 
 %files
 %defattr(-,root,root)
@@ -52,5 +51,5 @@ cd doc; make prefix=$RPM_BUILD_ROOT/usr install
 /usr/include/yaz
 /usr/share/yaz/z39.50
 /usr/share/yaz/ill
-/usr/share/yaz/doc
+/usr/share/doc/yaz
 /usr/share/aclocal/yaz.m4