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