aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/ruby/demos/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '0.8.0/ruby/demos/Makefile.am')
-rw-r--r--0.8.0/ruby/demos/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/0.8.0/ruby/demos/Makefile.am b/0.8.0/ruby/demos/Makefile.am
new file mode 100644
index 0000000..9756583
--- /dev/null
+++ b/0.8.0/ruby/demos/Makefile.am
@@ -0,0 +1,38 @@
+SUBDIRS = .
+
+AM_CXXFLAGS = -I$(top_srcdir) -I$(srcdir)/ -I$(top_srcdir)/ruby/ \
+ @PALUDIS_CXXFLAGS_WITHOUT_PEDANTIC@ \
+ @PALUDIS_CXXFLAGS_NO_WREDUNDANT_DECLS@ \
+ @PALUDIS_CXXFLAGS_NO_WOLD_STYLE_CAST@
+
+DEFS= \
+ -DSYSCONFDIR=\"$(sysconfdir)\" \
+ -DDATADIR=\"$(datadir)\" \
+ -DLIBEXECDIR=\"$(libexecdir)\" \
+ -DLIBDIR=\"$(libdir)\"
+
+CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda *.o *.so
+MAINTAINERCLEANFILES = Makefile.in
+
+IF_RUBY_DEMOS = \
+ version_spec_distributions.rb
+
+EXTRA_DIST = $(IF_RUBY_DEMOS)
+
+TESTS_ENVIRONMENT = env \
+ PALUDIS_NO_GLOBAL_HOOKS="yes" \
+ PALUDIS_NO_XTERM_TITLES="yes" \
+ PALUDIS_EBUILD_DIR="`$(top_srcdir)/ebuild/utils/canonicalise $(top_srcdir)/ebuild/`" \
+ PALUDIS_EBUILD_DIR_FALLBACK="`$(top_srcdir)/ebuild/utils/canonicalise $(top_builddir)/ebuild/`" \
+ PALUDIS_REPOSITORY_SO_DIR="`$(top_srcdir)/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories`" \
+ SYSCONFDIR="$(sysconfdir)" \
+ LD_LIBRARY_PATH="`$(top_srcdir)/ebuild/utils/canonicalise $(top_builddir)/paludis/.libs`" \
+ bash $(top_srcdir)/test/run_test.sh "ruby -I ../.libs/"
+
+if ENABLE_RUBY
+
+noinst_DATA = $(IF_RUBY_DEMOS)
+
+endif
+
+