aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/Makefile b/packages/Makefile
index 022f2b74..9364cb30 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -246,9 +246,8 @@ endif
install -p $(gem_src)/doc/*.* $(manualsdir)/$(GEM_NAME)
install -d $(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 && \
+ (test -d $(gem_src)/manual && \
+ install -p $(gem_src)/manual/*.* $(manualsdir)/$(GEM_NAME)/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"; \