aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2008-03-09 18:09:24 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2008-03-09 18:09:24 +0000
commit6004758d587f55c2e792a0718474168df736b989 (patch)
tree389c15c5a8808575ef3686aa1de82d242444ec11
parent247cea53a2fa7657a959496f66ac013836271f73 (diff)
downloadpaludis-6004758d587f55c2e792a0718474168df736b989.tar.gz
paludis-6004758d587f55c2e792a0718474168df736b989.tar.xz
Install all ruby scripts with the executable bit set. Install a symlink for playman in $(bindir).
-rw-r--r--NEWS3
-rw-r--r--ruby/demos/Makefile.am6
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3310088..d220830 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,9 @@ trunk/:
* World is now handled by environment, not individual repositories. Consult
the FAQ 'Upgrades' section for migration instructions.
+ * All ruby demos are now installed with the executable bit set, and a
+ symlink for playman is installed in $(bindir).
+
0.26.0_alpha12:
* The merger is able to detect hardlinks and tries to merge them as such.
diff --git a/ruby/demos/Makefile.am b/ruby/demos/Makefile.am
index 37ef0d6..0448af9 100644
--- a/ruby/demos/Makefile.am
+++ b/ruby/demos/Makefile.am
@@ -40,7 +40,7 @@ TESTS_ENVIRONMENT = env \
if ENABLE_RUBY
rubydemosdir = $(datadir)/paludis/ruby/demos/
-rubydemos_DATA = $(IF_RUBY_DEMOS)
+rubydemos_SCRIPTS = $(IF_RUBY_DEMOS)
endif
@@ -54,3 +54,7 @@ distcheck-deps : distcheck-deps-subdirs
distcheck-deps-subdirs :
for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) distcheck-deps-local || exit 1 ; \
else $(MAKE) -C $$s distcheck-deps || exit 1 ; fi ; done
+
+install-exec-local :
+ $(INSTALL) -d $(DESTDIR)$(bindir)
+ ln -s $(rubydemosdir)/playman.rb $(DESTDIR)$(bindir)/playman