Makefile
# ------------------------------------------------------------- # Build targets - repository # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - repo: roles/webserver-content/init.sls roles/webserver-content/init.sls: tmpfile=`mktemp /tmp/make-rOPS-generate-webcontent-index.XXXXXX` ; \ utils/generate-webcontent-index.py > "$$tmpfile" ;\ ${MV} "$$tmpfile" roles/webserver-content/init.sls clean-repo: ${RM} roles/webserver-content/init.sls
The target roles/webserver-content/init.sls calls utils/generate-webcontent-index.py.
But utils/generate-webcontent-index.py update in-place roles/webserver-content/init.sls and can work when the file doesn't exist.
So:
- we can't clean and regenerate
- it will ignore make repo too, as the target already exists.