diff options
author | Matt Clay <matt@mystile.com> | 2018-10-08 12:47:39 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-10-11 18:34:06 -0700 |
commit | 19c0511f571aa19d0448d36817c81657a782c050 (patch) | |
tree | 0c77f633ead9caa68f8676bc6a9a412bf5989adb /Makefile | |
parent | e43869cca99ed1aeee1c1f4796a05cfd28f3c58e (diff) | |
download | ansible-19c0511f571aa19d0448d36817c81657a782c050.tar.gz |
Add link check to `make sdist`.
This will cause `make sdist` to fail on platforms which create
hard links of symbolic links as regular files, such as MacOS (Darwin).
This prevents accidental creation of an sdist tarball without
the necessary symbolic links.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -231,8 +231,12 @@ install_manpages: gzip -9 $(wildcard ./docs/man/man1/ansible*.1) cp $(wildcard ./docs/man/man1/ansible*.1.gz) $(PREFIX)/man/man1/ +.PHONY: sdist_check +sdist_check: + $(PYTHON) packaging/sdist/check-link-behavior.py + .PHONY: sdist -sdist: clean docs +sdist: sdist_check clean docs $(PYTHON) setup.py sdist .PHONY: sdist_upload |