Difference between revisions of "Talk:Hpaste.el"
Jump to navigation
Jump to search
(No difference)
|
Latest revision as of 17:37, 21 July 2007
The following GNUmakefile allows you to fetch hpaste.el programmatically (useful for automatically fetching updates):
.PHONY:: hpaste.el executable-find = $(firstword $(wildcard $(addsuffix /$(1),$(subst :, ,$(PATH))))) wget = $(if $(call executable-find,wget),wget -O $@ $1,curl -LRo $@ $1) hpaste.el:: $(call wget,http://www.haskell.org/haskellwiki/?title=Hpaste.el\&action=raw) sed -i '1,/<pre-lisp>/d;\|</pre-lisp>|,$$d' $@