Mark Makefiles that don't generate files as .PHONY
authorMark Hansen <mark@markhansen.co.nz>
Sat, 16 May 2020 05:42:58 +0000 (15:42 +1000)
committerMark Hansen <mark@markhansen.co.nz>
Sat, 16 May 2020 05:47:29 +0000 (15:47 +1000)
commit59b4e4d1589d7163f12b4f9e6c4c430429c36e6b
tree277eb7e0374e3af1aed523b05910212f05969a03
parent1be9b598bdb0e18e1233749412b9fa943c1489b4
Mark Makefiles that don't generate files as .PHONY

See
https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html.

These targets aren't the name of a file, they're just a name for some
behaviour to run.

Marking them as .PHONY ensures that even if a file called 'clean' or
'distclean' or 'all' or 'install' exists in the directory, the code will
still be run.
26 files changed:
contrib/pangotest/Makefile
doc/docbook/Makefile
doc/dotguide/Makefile
doc/dotty/Makefile
doc/dotty/figs/Makefile
doc/infosrc/Makefile
doc/lefty/Makefile
doc/lefty/figs/Makefile
doc/libgraph/Makefile
doc/libguide/Makefile
doc/neato/Makefile
doc/smyrna/Makefile
dot.demo/Makefile
dot.demo/Makefile.builtins
dot.demo/Makefile.python_wrapper
dot.demo/Makefile.python_wrapper_builtins
lib/inkpot/test/Makefile
macosx/build/Makefile.lion
macosx/build/Makefile.mountainlion
macosx/build/Makefile.snowleopard
macosx/prebuild/Makefile.leopard
macosx/prebuild/Makefile.lion
macosx/prebuild/Makefile.snowleopard
macosx/prebuild/Makefile.tiger
rtest2/Makefile
windows/prebuild/Makefile