[gegl] revamp favoring non-workshop operations
Nils Philippsen
nphilipp at fedoraproject.org
Tue Apr 3 13:16:03 UTC 2012
commit 6d678c22028d34633ddf416139b964da0b2574db
Author: Nils Philippsen <nils at redhat.com>
Date: Tue Apr 3 15:15:47 2012 +0200
revamp favoring non-workshop operations
gegl.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gegl.spec b/gegl.spec
index 08d8647..3f208ad 100644
--- a/gegl.spec
+++ b/gegl.spec
@@ -129,7 +129,15 @@ rm -rf %{buildroot}
make DESTDIR=%{buildroot} install INSTALL='install -p'
pushd operations
# favor non-workshop binaries
-make SUBDIRS="$(for d in */; do d="${d%/}"; if [ "$d" != "workshop" ]; then echo -n " $d"; fi; done)" DESTDIR=%{buildroot} install INSTALL='install -p'
+make SUBDIRS= install INSTALL='install -p'
+for d in */; do
+ d="${d%/}"
+ if [ "$d" != "workshop" ]; then
+ pushd "$d"
+ make DESTDIR=%{buildroot} install INSTALL='install -p'
+ popd
+ fi
+done
popd
rm -f %{buildroot}%{_libdir}/*.la
More information about the scm-commits
mailing list