Skip to content

Commit 878c8b8

Browse files
author
Vítězslav Dvořák
committed
Do not build docs and its package
1 parent 4e7719e commit 878c8b8

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ apigen:
5353
VERSION=`cat debian/composer.json | grep version | awk -F'"' '{print $4}'`; \
5454
apigen generate --destination=docs -- src
5555

56+
.PHONY: phpdoc
57+
phpdoc: ## Generate dev docs
58+
phpdoc -d src
59+
5660
pretest:
5761
composer --ansi --no-interaction update
5862
php -f tests/PrepareForTest.php

debian/control

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ Priority: optional
2525
Description: PHP Based abraflexi RestAPI/Json library development files
2626
PHPUnit classes used for testing php-abraflexi functionality
2727

28-
Package: php-spojenet-abraflexi-doc
29-
Depends: ${misc:Depends}
30-
Architecture: all
31-
Replaces: php-abraflexi-doc
32-
Suggests: www-browser
33-
Section: doc
34-
Priority: optional
35-
Description: PHP Based abraflexi RestAPI/Json library Documentation
36-
PHP Based abraflexi RestAPI/Json library documentation generated by phpDocumentor.
28+
#Package: php-spojenet-abraflexi-doc
29+
#Depends: ${misc:Depends}
30+
#Architecture: all
31+
#Replaces: php-abraflexi-doc
32+
#Suggests: www-browser
33+
#Section: doc
34+
#Priority: optional
35+
#Description: PHP Based abraflexi RestAPI/Json library Documentation
36+
# PHP Based abraflexi RestAPI/Json library documentation generated by phpDocumentor.
3737

debian/rules

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
override_dh_auto_test:
77
echo tests temporarly skipped for now in rules file
88

9-
override_dh_prep:
10-
composer install --no-dev
11-
cd tools; ./update_all.sh ; cd ..
12-
phpdoc -d src
13-
mkdir -p docs ; mv .phpdoc/build/* docs
14-
dh_prep
9+
#override_dh_prep:
10+
# composer install --no-dev
11+
# cd tools; ./update_all.sh ; cd ..
12+
# phpdoc run -d src
13+
# mkdir -p docs ; mv .phpdoc/build/* docs
14+
# dh_prep
1515

1616
#override_dh_auto_test:
1717
# composer update --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader

0 commit comments

Comments
 (0)