diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-01-25 18:06:50 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-01-25 18:06:50 +0000 |
commit | fd718f9ec7b1fed971154a1393c05ddbef338c2a (patch) | |
tree | 6864674d1acc3967b3f6efeaf31d5e3ace8ba668 /packages | |
parent | 9fdb1b2ae0af10f2774c16ceba2ff7644be48c9f (diff) |
handle different locations for the Gem manual. in Gem 0.92, $(gem_src)/manual moved to $(gem_src)/doc/manual
svn path=/trunk/; revision=10635
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Makefile | 6 |
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 ; \ |