Sha256: f74df1c806817370d3a7d039a69a11cf23c9dfa4765192b72bb9a24aefb12d4a
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
# # making Makefile getting kindlegen from Amazon.com # require 'rbconfig' File::open( 'Makefile', 'w' ) do |w| if Dir::pwd.include? 'gems' w.puts RbConfig.expand( DATA.read, { 'bindir' => '../../../../bin' } ) else w.puts RbConfig.expand( DATA.read ) end end __END__ AMAZON = http://s3.amazonaws.com/kindlegen TARGET = kindlegen BINDIR = $(bindir) PLATFORM = linux_2.6_i386 VERSION = 1.2 TARBALL = $(TARGET)_$(PLATFORM)_v$(VERSION).tar.gz CURL = curl TARX = tar zxf CP = cp all: $(TARGET) $(TARGET): $(TARBALL) $(TARX) $(TARBALL) touch $(TARGET) $(TARBALL): $(CURL) $(AMAZON)/$(TARBALL) -o $(TARBALL) install: $(TARGET) $(CP) $(TARGET) $(BINDIR)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kindlegen-1.2.2 | ext/kindlegen/extconf.rb |