Sha256: 5d673edb7223b22a27464ef2fb7e8cdced87326e1126241c63b4cf4170691e02
Contents?: true
Size: 1.92 KB
Versions: 1
Compression:
Stored size: 1.92 KB
Contents
# this is the local.mk file used by Eric Wong on his dev boxes. # GNUmakefile will source local.mk in the top-level source tree # if it is present. # # This is depends on a bunch of GNU-isms from bash, sed, touch. DLEXT := so gems := rev-0.3.1 rack-1.0.0 iobuffer-0.1.1 # Avoid loading rubygems to speed up tests because gmake is # fork+exec heavy with Ruby. ifeq ($(r19),) ruby := $(HOME)/bin/ruby gem_paths := $(addprefix $(HOME)/lib/ruby/gems/1.8/gems/,$(gems)) else export PATH := $(HOME)/ruby-1.9/bin:$(PATH) ruby := $(HOME)/ruby-1.9/bin/ruby --disable-gems gems := $(gems) case-0.5 revactor-0.1.4 gem_paths := $(addprefix $(HOME)/ruby-1.9/lib/ruby/gems/1.9.1/gems/,$(gems)) endif ifdef gem_paths sp := sp += RUBYLIB := $(subst $(sp),:,$(addsuffix /lib,$(gem_paths))) endif # pipefail is THE reason to use bash (v3+) or never revisions of ksh93 # SHELL := /bin/bash -e -o pipefail SHELL := /bin/ksh93 -e -o pipefail full-test: test-18 test-19 test-18: $(MAKE) test 2>&1 | sed -u -e 's!^!1.8 !' test-19: $(MAKE) test r19=t 2>&1 | sed -u -e 's!^!1.9 !' latest: NEWS @awk 'BEGIN{RS="=== ";ORS=""}NR==2{sub(/\n$$/,"");print RS""$$0 }' < $< # publishes docs to http://rainbows.rubyforge.org publish_doc: -git set-file-times $(RM) -r doc $(MAKE) doc $(MAKE) -s latest > doc/LATEST find doc/images doc/js -type f | \ TZ=UTC xargs touch -d '1970-01-01 00:00:00' doc/rdoc.css $(MAKE) doc_gz chmod 644 $$(find doc -type f) rsync -av --delete doc/ \ rubyforge.org:/var/www/gforge-projects/rainbows/ git ls-files | xargs touch # Create gzip variants of the same timestamp as the original so nginx # "gzip_static on" can serve the gzipped versions directly. doc_gz: suf := html js css doc_gz: docs = $(shell find doc -type f ! -regex '^.*\.\(gif\|jpg\|png\|gz\)$$') doc_gz: touch doc/NEWS.atom.xml -d "$$(awk 'NR==1{print $$4,$$5,$$6}' NEWS)" for i in $(docs); do \ gzip --rsyncable -9 < $$i > $$i.gz; touch -r $$i $$i.gz; done
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rainbows-0.2.0 | local.mk.sample |