]> git.pld-linux.org Git - packages/php-phpmailer.git/commitdiff
build doc of more files
authorElan Ruusamäe <glen@delfi.ee>
Sat, 9 Nov 2013 21:39:44 +0000 (23:39 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 9 Nov 2013 21:39:44 +0000 (23:39 +0200)
php-phpmailer.spec

index 03d9db0e6b0464f78577b14b81a76d66f451f410..e81e850410a87cb509333b234b52d2692c669e31 100644 (file)
@@ -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
This page took 0.05 seconds and 4 git commands to generate.