addresses #16
* api documentation finished for common.inc.php and directories.php
This commit is contained in:
parent
9f722b7c68
commit
f6be78bdcf
3 changed files with 39 additions and 15 deletions
4
Makefile
4
Makefile
|
@ -28,7 +28,7 @@ PROJECT := davadmin
|
|||
SRCFILES := $(wildcard admin/*.php)
|
||||
JSFILES := admin/scripts/autocomplete.js admin/scripts/directories.js \
|
||||
admin/scripts/users.js
|
||||
APISRC := $(SRCFILES:,= )
|
||||
APISRC := $(shell echo $(SRCFILES) | sed 's/ /,/g' )
|
||||
TEMPDIR := $(shell mktemp -t -d davadmin.XXXXXXXXXX)
|
||||
XSRCFILES := $(patsubst %,$(TEMPDIR)/%,$(SRCFILES))
|
||||
XJSFILES := $(patsubst %,$(TEMPDIR)/%,$(JSFILES))
|
||||
|
@ -115,7 +115,7 @@ $(TEMPDIR)/delete:
|
|||
.PHONY: apidoc
|
||||
apidoc:
|
||||
if [ -d apidoc ]; then rm -r apidoc; fi
|
||||
phpdoc -f $(APISRC) -t apidoc --undocumentedelements on -s
|
||||
phpdoc -ue on -f $(APISRC) -t apidoc -s
|
||||
|
||||
.PHONY: clean distclean
|
||||
clean: $(TEMPDIR)/delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue