ruby-wordexp.git  about / heads / tags
perform word expansions (interface to the wordexp(3) POSIX function)
blob c978f0fb26a53e0dc21acb78ad05ebfd23788110 576 bytes (raw)
$ git show HEAD:GNUmakefile	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
all::
RSYNC_DEST := bogomips.org:/srv/bogomips/ruby-wordexp
rfpackage := wordexp
pkg_extra = doc/api.txt
include pkg.mk

doc/api.txt: RI = ri -w 78 -f rdoc --no-pager -d doc/ri --no-standard-docs
doc/api.txt: $(ext_src)
	rdoc -r -o doc/ri $(ext_src)
	(  $(RI) Wordexp; $(RI) 'Wordexp#wordexp' ) \
	 </dev/null | grep -v from.*doc/ri > $@+
	mv $@+ $@

doc::
	$(MAKE) doc/api.txt

RSYNC = rsync --exclude '*.html' --exclude '*.html.gz' \
        --exclude images --exclude '*.css' --exclude '*.css.gz' \
	--exclude created.* \
	--exclude '*.ri' --exclude '*.ri.gz' --exclude ri

git clone https://yhbt.net/ruby-wordexp.git