Sha256: 81eeaaf9bd1e6030a17c1361125b65d6d34064e6215825c1e9540a4d0565cc6d
Contents?: true
Size: 1.03 KB
Versions: 3
Compression:
Stored size: 1.03 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. latest: NEWS @awk 'BEGIN{RS="=== ";ORS=""}NR==2{sub(/\n$$/,"");print RS""$$0 }' $< # publishes docs to http://upr.bogomips.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/ dcvr:/srv/upr/ 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
upr-0.3.0 | local.mk.sample |
upr-0.2.0 | local.mk.sample |
upr-0.1.0 | local.mk.sample |