build(make): Add missing phony target declarations

I also prefer having a `.PHONY: ...` declaration for each phony target, as is done in
the rest of the `./Makefile`, because it makes is easier when removing or refactoring
targets not to forget to also remove or adjust the `.PHONY: ...` declaration.
This commit is contained in:
Ross Patterson 2020-09-17 12:36:55 -07:00
parent 775a3dba33
commit d8df630729
1 changed files with 5 additions and 2 deletions

View File

@ -21,8 +21,9 @@ SOURCES=src/allmydata static misc setup.py
APPNAME=tahoe-lafs
# Top-level targets
# Top-level, phony targets
.PHONY: default
default:
@echo "no default target"
@ -33,13 +34,15 @@ make-version:
$(PYTHON) ./setup.py update_version
# Build OS X pkg packages.
.PHONY: build-osx-pkg test-osx-pkg upload-osx-pkg
.PHONY: build-osx-pkg
build-osx-pkg:
misc/build_helpers/build-osx-pkg.sh $(APPNAME)
.PHONY: test-osx-pkg
test-osx-pkg:
$(PYTHON) misc/build_helpers/test-osx-pkg.py
.PHONY: upload-osx-pkg
upload-osx-pkg:
# [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert unknown ca'), ('SSL routines', 'ssl3_write_bytes', 'ssl handshake failure')]
#