5 version
=$(shell cat VERSION
)
9 built-docs
: docs
/api
/phpdoc.ini inc
/*.php
10 phpdoc
-c docs
/api
/phpdoc.ini
14 # Build a release .tar.gz file in the directory above us
17 -ln
-s .
$(package
)-$(version
)
18 tar czf ..
/$(package
)-$(version
).
tar.gz \
19 --no-recursion
--dereference
$(package
)-$(version
) \
20 $(shell git-ls-files |grep
-v
'.git'|sed
-e s
:^
:$(package
)-$(version
)/:) \
21 $(shell find
$(package
)-$(version
)/docs
/api
/ ! -name
"phpdoc.ini" )
22 rm $(package
)-$(version
)
26 -find docs
/api
/* ! -name
"phpdoc.ini" ! -name
".gitignore" -delete
27 -find .
-name
"*~" -delete
30 .PHONY
: all clean release