mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
Pre-process the PHPdoc initialisation to make it more workable in another
build location.
This commit is contained in:
parent
70372992cb
commit
6c2f1846ec
1
debian/.gitignore
vendored
1
debian/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
files
|
||||
html
|
||||
rscds
|
||||
rscds-phpdoc.ini
|
||||
|
||||
@ -52,7 +52,7 @@ defaultpackagename = RSCDS
|
||||
|
||||
;; where should the documentation be written?
|
||||
;; legal values: a legal path
|
||||
target = /home/andrew/projects/rscds/debian/html
|
||||
target = ##projectroot##/debian/html
|
||||
|
||||
;; Which files should be parsed out as special documentation files, such as README,
|
||||
;; INSTALL and CHANGELOG? This overrides the default files found in
|
||||
@ -71,14 +71,14 @@ readmeinstallchangelog = README, INSTALL, CHANGELOG, NEWS, FAQ, LICENSE
|
||||
;; legal values: directory paths separated by commas
|
||||
;directory = /path1,/path2,.,..,subdirectory
|
||||
;directory = /home/jeichorn/cvs/pear
|
||||
directory = /home/andrew/projects/rscds/inc,/home/andrew/projects/rscds/htdocs
|
||||
directory = ##projectroot##/inc,##projectroot##/htdocs
|
||||
|
||||
;; template base directory (the equivalent directory of <installdir>/phpDocumentor)
|
||||
;templatebase = /path/to/my/templates
|
||||
|
||||
;; directory to find any example files in through @example and {@example} tags
|
||||
;examplesdir = /path/to/my/templates
|
||||
examplesdir = /home/andrew/projects/rscds/examples
|
||||
examplesdir = ##projectroot##/examples
|
||||
|
||||
;; comma-separated list of files, directories or wildcards ? and * (any wildcard) to ignore
|
||||
;; legal values: any wildcard strings separated by commas
|
||||
4
debian/rules
vendored
4
debian/rules
vendored
@ -10,6 +10,10 @@ build: inc htdocs debian/$(package)-phpdoc.ini
|
||||
cd ~andrew/projects/phpdoc/phpDocumentor-1.2.3 && ./phpdoc -c ~andrew/projects/$(package)/debian/$(package)-phpdoc.ini
|
||||
touch build
|
||||
|
||||
# PHPDoc architecture sucks. Badly.
|
||||
debian/$(package)-phpdoc.ini: debian/$(package)-phpdoc.ini.in
|
||||
sed -e"s@##packageroot##@`pwd`" <debian/$(package)-phpdoc.ini.in >debian/$(package)-phpdoc.ini
|
||||
|
||||
clean:
|
||||
$(checkdir)
|
||||
rm -f build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user