aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/Makefile b/packages/Makefile
index a326fca3..022f2b74 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -245,7 +245,11 @@ endif
install -d $(manualsdir)/$(GEM_NAME)
install -p $(gem_src)/doc/*.* $(manualsdir)/$(GEM_NAME)
install -d $(manualsdir)/$(GEM_NAME)/manual
- install -p $(gem_src)/doc/manual/*.* $(manualsdir)/$(GEM_NAME)/manual
+# in Gem 0.92, $(gem_src)/manual moved to $(gem_src)/doc/manual
+ test -d $(gem_src)/manual && \
+ install -p $(gem_src)/manual/*.* $(manualsdir)/$(GEM_NAME)/manual
+ test -d $(gem_src)/doc/manual && \
+ install -p $(gem_src)/doc/manual/*.* $(manualsdir)/$(GEM_NAME)/manual
for dir in $(shell ls -1 $(gem_src)/examples | grep -v CVS); do \
echo "installing $$dir"; \
install -d $(examplesdir)/$(GEM_NAME)/$$dir ; \