aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2008-04-12 16:21:19 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2008-04-12 16:21:19 +0000
commit05ccb6326bad0de2cf0fe7728cabda851f8a6e24 (patch)
tree4611ccc1359cf80f7b65d74511159d41377309c6
parent64a6325ff646529ca645fe0e94faca982d6d88e4 (diff)
downloadpaludis-05ccb6326bad0de2cf0fe7728cabda851f8a6e24.tar.gz
paludis-05ccb6326bad0de2cf0fe7728cabda851f8a6e24.tar.xz
Only install playman symlink with --enable-ruby.
-rw-r--r--ruby/demos/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/ruby/demos/Makefile.am b/ruby/demos/Makefile.am
index 6f408dd..c8d7cde 100644
--- a/ruby/demos/Makefile.am
+++ b/ruby/demos/Makefile.am
@@ -42,6 +42,13 @@ if ENABLE_RUBY
rubydemosdir = $(datadir)/paludis/ruby/demos/
rubydemos_SCRIPTS = $(IF_RUBY_DEMOS)
+install-exec-local :
+ $(INSTALL) -d $(DESTDIR)$(bindir)
+ ln -sf $(rubydemosdir)/playman.rb $(DESTDIR)$(bindir)/playman
+
+uninstall-local :
+ rm $(DESTDIR)$(bindir)/playman
+
endif
built-sources : $(BUILT_SOURCES)
@@ -54,7 +61,3 @@ 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 -sf $(rubydemosdir)/playman.rb $(DESTDIR)$(bindir)/playman