Simplify make install
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 Mar 2013 13:37:13 +0000 (13:37 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 12 Mar 2013 13:37:13 +0000 (13:37 +0000)
yaz.spec

index c8ff1c8..8939cf4 100644 (file)
--- a/yaz.spec
+++ b/yaz.spec
@@ -102,8 +102,7 @@ make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -fr ${RPM_BUILD_ROOT}
-make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
-       libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+make install DESTDIR=${RPM_BUILD_ROOT}
 rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
 
 %clean