18 lines
431 B
Makefile
18 lines
431 B
Makefile
.PHONY: apidoc
|
|
|
|
VERSION=0.1
|
|
PROJECT=webdavadmin
|
|
SRCFILES=admin/common.inc.php,admin/directories.php,admin/getgroups.php,admin/index.php,admin/users.php
|
|
|
|
apidoc:
|
|
if [ -d apidoc ]; then rm -r apidoc; fi
|
|
phpdoc -f $(SRCFILES) -t apidoc -s
|
|
|
|
clean:
|
|
find -name '*~' -type f -exec rm {} \;
|
|
|
|
distclean: clean
|
|
if [ -d apidoc ]; then rm -r apidoc; fi
|
|
|
|
dist: distclean
|
|
cd .. ; tar cjf $(PROJECT)-$(VERSION).tar.bz2 $(PROJECT)-$(VERSION)
|