RPM: simplify make install rule
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 19 Mar 2013 11:20:21 +0000 (12:20 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 19 Mar 2013 11:20:21 +0000 (12:20 +0100)
metaproxy.spec

index e269736..677e060 100644 (file)
@@ -56,8 +56,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
 rm -fr ${RPM_BUILD_ROOT}/%{_prefix}/share/metaproxy
 rm -f ${RPM_BUILD_ROOT}/%{_libdir}/metaproxy/*