[packages/php-phpmailer] build doc of more files

glen glen at pld-linux.org
Sat Nov 9 22:39:51 CET 2013


commit 7fc5b62bddfaea334d1c6fb0e27eb679bf01bbd3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Nov 9 23:39:44 2013 +0200

    build doc of more files

 php-phpmailer.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/php-phpmailer.spec b/php-phpmailer.spec
index 03d9db0..e81e850 100644
--- a/php-phpmailer.spec
+++ b/php-phpmailer.spec
@@ -75,16 +75,15 @@ for a in $(find -name '*.php' -o -name '*.inc'); do
 	php -n -l $a
 done
 
-phpdoc --title 'PHPMailer version %{version}' --target phpdoc --defaultpackagename PHPMailer -f 'class.*.php'
-# nuke smarty cache
-rm -rf phpdoc/????????????????????????????????
-rm -rf phpdoc/*/????????????????????????????????
+rm -rf phpdoc
+phpdoc --title 'PHPMailer version %{version}' --target phpdoc --defaultpackagename PHPMailer \
+	--directory . --ignore test/,examples/,extras/,test_script/,language/,phpdoc/ --sourcecode
 
 # copy images, phpdoc is likely buggy not doing itself
 sdir=%{php_pear_dir}/data/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/earthli/templates/media/images
 install -d phpdoc/media/images
-cp -a $sdir/Constant.png phpdoc/media/images
-cp -a $sdir/Variable.png phpdoc/media/images
+cp -p $sdir/Constant.png phpdoc/media/images
+cp -p $sdir/Variable.png phpdoc/media/images
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-phpmailer.git/commitdiff/7fc5b62bddfaea334d1c6fb0e27eb679bf01bbd3



More information about the pld-cvs-commit mailing list