Skip to content

Commit dc43d07

Browse files
committed
Fix typos in Makefile
1 parent e23eb74 commit dc43d07

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: apigen compser test docs mkdocs
1+
.PHONY: apigen composer test docs mkdocs
22

33
PHONGO_LIB_VERSION=`php -r 'require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";'`
44
COMPOSER_ARGS=update --no-interaction --prefer-source
@@ -32,8 +32,8 @@ apigen:
3232
@command -v apigen >/dev/null 2>&1; \
3333
if test $$? -eq 0; then \
3434
apigen generate
35-
elif test -r phpunit.phar; then \
36-
php apigen generate \
35+
elif test -r apigen.phar; then \
36+
php apigen.phar generate \
3737
else \
3838
echo "Cannot find apigen :("; \
3939
echo "Aborting."; \
@@ -45,7 +45,7 @@ mkdocs:
4545
if test $$? -eq 0; then \
4646
mkdocs build --clean \
4747
else \
48-
echo "Cannot find apigen :("; \
48+
echo "Cannot find mkdocs :("; \
4949
echo "Aborting."; \
5050
exit 1; \
5151
fi
@@ -62,7 +62,7 @@ release: test RELEASE
6262
@echo " " git tag -a -m \"Release phongo-library $(PHONGO_LIB_VERSION)\" $(PHONGO_LIB_VERSION)
6363
@echo " " git push --tags
6464
@echo " " make release-docs
65-
@echo "And don't forget to pump version in src/Collection.php"
65+
@echo "And don't forget to bump version in src/Collection.php"
6666

6767
docs:
6868
mkdocs build --clean

0 commit comments

Comments
 (0)