aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-04-22 11:24:45 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-04-22 11:24:45 +0000
commit303cacdce5c7a4e1438b7695f1a5601414c1de41 (patch)
treef0862ad27b0775fe4e2cd918debb501a7e96ae49
parentb2c07e6a1fb9d81f21b1f00ba67dad0b30a819b5 (diff)
check whether Gem backends are available before attempting to install them
svn path=/trunk/; revision=13463
-rw-r--r--packages/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/Makefile b/packages/Makefile
index aadcd1b4..476b617d 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -240,8 +240,11 @@ gem_install: gem
install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)
ifneq ($(OS_NAME),windows)
install -p $(gem_src)/src/Gem.$(EXTENSION) $(DESTDIR)$(objectsdir)/$(GEM_NAME)/
- install -p $(gem_src)/src/plugins/*/.libs/*.so $(DESTDIR)$(objectsdir)/$(GEM_NAME)/
endif
+ (test -e $(gem_src)/src/plugins/filmAVI/.libs/filmAVI.so && \
+ install -p $(gem_src)/src/plugins/*/.libs/*.so $(DESTDIR)$(objectsdir)/$(GEM_NAME)/ ) || true
+ (test -e $(gem_src)/src/plugins/filmAVI/.libs/filmAVI.dll && \
+ install -p $(gem_src)/src/plugins/*/.libs/*.dll $(DESTDIR)$(objectsdir)/$(GEM_NAME)/ ) || true
install -p $(gem_src)/help/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/
install -p $(gem_src)/abstractions/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)
install -d $(DESTDIR)$(manualsdir)/$(GEM_NAME)