aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-25 21:42:55 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-25 21:42:55 +0000
commit14e225e32676efda6565d4a223e0e6e5896c8054 (patch)
tree6cd8f3e30f02f6d6ae46d31e9d6eb4dace6f84f4 /packages/Makefile
parent91c7c0857eba2ed87c91993adc74992a21eaf03f (diff)
moved Gem examples and manual into extra/Gem to make it libdir-like, and then added symlinks to the old location
svn path=/trunk/; revision=13473
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/packages/Makefile b/packages/Makefile
index 4aa1a898..696b2b49 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -247,19 +247,22 @@ endif
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)
- install -p $(gem_src)/doc/*.* $(DESTDIR)$(manualsdir)/$(GEM_NAME)
- install -d $(DESTDIR)$(manualsdir)/$(GEM_NAME)/manual
+ install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual
+ install -p $(gem_src)/doc/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual
+ install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual/html
# in Gem 0.92, $(gem_src)/manual moved to $(gem_src)/doc/manual
(test -d $(gem_src)/manual && \
- install -p $(gem_src)/manual/*.* $(DESTDIR)$(manualsdir)/$(GEM_NAME)/manual) || \
- install -p $(gem_src)/doc/manual/*.* $(DESTDIR)$(manualsdir)/$(GEM_NAME)/manual
+ install -p $(gem_src)/manual/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual/html ) || \
+ install -p $(gem_src)/doc/manual/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual/html
for dir in $(shell ls -1 $(gem_src)/examples | grep -v CVS); do \
echo "installing $$dir"; \
- install -d $(DESTDIR)$(examplesdir)/$(GEM_NAME)/$$dir ; \
- install -p $(gem_src)/examples/$$dir/*.* $(DESTDIR)$(examplesdir)/$(GEM_NAME)/$$dir ;\
+ install -d $(DESTDIR)$(objectsdir)/$(GEM_NAME)/examples/$$dir ; \
+ install -p $(gem_src)/examples/$$dir/*.* $(DESTDIR)$(objectsdir)/$(GEM_NAME)/examples/$$dir ;\
done
-
+ install -d $(DESTDIR)$(examplesdir)
+ ln -s $(DESTDIR)$(objectsdir)/$(GEM_NAME)/examples $(DESTDIR)$(examplesdir)/$(GEM_NAME)
+ install -d $(DESTDIR)$(manualsdir)
+ ln -s $(DESTDIR)$(objectsdir)/$(GEM_NAME)/manual $(DESTDIR)$(manualsdir)/$(GEM_NAME)
#------------------------------------------------------------------------------