More refinements to search highlighting.
[adorno.git] / Makefile
blob07d20854e66f6d9c713ebc932b1b335a59c81f24
1 #!/usr/bin/make -f
2 #
4 package=adorno
5 version=$(shell cat VERSION)
7 all: built-docs
9 built-docs: docs/api/phpdoc.ini inc/*.php
10 phpdoc -c docs/api/phpdoc.ini
11 touch built-docs
14 # Build a release .tar.gz file in the directory above us
16 release: built-docs
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)
24 clean:
25 rm -f built-docs
26 -find docs/api/* ! -name "phpdoc.ini" ! -name ".gitignore" -delete
27 -find . -name "*~" -delete
30 .PHONY: all clean release