Sha256: 31490a05d82171881132304484139ce4f0c95cb5454b15ff0fd411309afeb8b9
Contents?: true
Size: 1.94 KB
Versions: 3
Compression:
Stored size: 1.94 KB
Contents
SUBDIRS = deps/ruby bin_SCRIPTS = fluent-gem fluent-cat fluentd MOSTLYCLEANFILES = $(bin_SCRIPTS) DEST_RUBY = $(DESTDIR)$(RUBY_BINDIR)/ruby DEST_GEM = $(DEST_RUBY) -rrubygems -rrubygems/gem_runner -rrubygems/exceptions -rrubygems/installer -e 'class Gem::Installer; def shebang(bin_file_name) "\#\!$(RUBY_BINDIR)/ruby" end; end; Gem::GemRunner.new.run ARGV' DEST_RAKE = $(DEST_RUBY) -rrake -e 'Rake.application.run' DEST_RUBY_LIBDIR = $(DESTDIR)$(RUBY_LIBDIR)/ruby fluent-gem: echo '#!/bin/sh' > $@ echo 'exec "$(RUBY_BINDIR)/gem" "$$@"' >> $@ chmod 755 $@ fluent-cat: echo '#!/bin/sh' > $@ echo 'export FLUENT_CONF="$(sysconfdir)/fluent/fluent.conf"' >> $@ echo 'export FLUENT_PLUGIN="$(sysconfdir)/fluent/plugin"' >> $@ echo 'export FLUENT_SOCKET="$(localstatedir)/run/fluent.sock"' >> $@ echo 'exec "$(RUBY_BINDIR)/fluent-cat" "$$@"' >> $@ chmod 755 $@ fluentd: echo '#!/bin/sh' > $@ echo 'export FLUENT_CONF="$(sysconfdir)/fluent/fluent.conf"' >> $@ echo 'export FLUENT_PLUGIN="$(sysconfdir)/fluent/plugin"' >> $@ echo 'export FLUENT_SOCKET="$(localstatedir)/run/fluent.sock"' >> $@ echo 'exec "$(RUBY_BINDIR)/fluentd" "$$@"' >> $@ chmod 755 $@ install: install-recursive for gem in $(srcdir)/deps/*.gem; do \ RUBYLIB="$(DEST_RUBY_LIBDIR)/1.9.1:$(DEST_RUBY_LIBDIR)/1.9.1/$(shell $(DEST_RUBY) --version | sed -E 's/.*\[(.*)\]/\1/')" \ $(DEST_GEM) install --no-rdoc --no-ri "$$gem"; \ done cd "$(srcdir)" && \ RUBYLIB="$(DEST_RUBY_LIBDIR)/1.9.1:$(DEST_RUBY_LIBDIR)/1.9.1/$(shell $(DEST_RUBY) --version | sed -E 's/.*\[(.*)\]/\1/')" \ $(DEST_RAKE) RUBYLIB="$(DEST_RUBY_LIBDIR)/1.9.1:$(DEST_RUBY_LIBDIR)/1.9.1/$(shell $(DEST_RUBY) --version | sed -E 's/.*\[(.*)\]/\1/')" \ $(DEST_GEM) install --no-rdoc --no-ri "$(srcdir)/pkg/fluentd-$(VERSION).gem" mkdir -p $(DESTDIR)$(sysconfdir)/fluent cp -f $(srcdir)/fluent.conf $(DESTDIR)$(sysconfdir)/fluent/fluent.conf mkdir -p $(DESTDIR)$(sysconfdir)/fluent/plugin dist: cd $(srcdir) && ./make_dist.sh
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fluentd-0.10.6 | Makefile.am |
fluentd-0.10.5 | Makefile.am |
fluentd-0.10.4 | Makefile.am |