Add phony clean-all build target

A `make clean` before commit removes hledger-completion.bash and
it is supposed to be in the repository. `make clean` removes build
artifacts while keeping the latter. Do a `make clean-all` to purge
everything.
This commit is contained in:
Vladimir Zhelezov 2020-12-19 08:11:55 +01:00
parent 0bb4d1a6eb
commit dea35043bd

View File

@ -75,4 +75,7 @@ options-%.txt:
.PHONY: clean .PHONY: clean
clean: clean:
rm -f commands*.txt generic-options.txt options-*.txt rm -f commands*.txt generic-options.txt options-*.txt
.PHONY: clean-all
clean-all: clean
rm -f hledger-completion.bash rm -f hledger-completion.bash