projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
585e87e
)
RPM: simplify make install rule
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 27 Mar 2013 12:38:55 +0000
(13:38 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 27 Mar 2013 12:38:55 +0000
(13:38 +0100)
idzebra.spec
patch
|
blob
|
history
diff --git
a/idzebra.spec
b/idzebra.spec
index
e99268e
..
72258bd
100644
(file)
--- a/
idzebra.spec
+++ b/
idzebra.spec
@@
-63,8
+63,7
@@
make CFLAGS="$RPM_OPT_FLAGS"
%install
rm -fr ${RPM_BUILD_ROOT}
-make prefix=${RPM_BUILD_ROOT}/usr mandir=${RPM_BUILD_ROOT}/%{_mandir} \
- libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+make install DESTDIR=${RPM_BUILD_ROOT}
rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
rm ${RPM_BUILD_ROOT}/%{_bindir}/zebraidx
rm ${RPM_BUILD_ROOT}/%{_mandir}/man1/zebraidx.*