Implement distclean target

distclean target should restore the directory tree to the state it
originally before make was invoked. In our case it means calling the
clean target to remove the compiled blobs and removing the
auto-generated config.h.
This commit is contained in:
Nikos Tsipinakis 2017-01-01 17:08:10 +02:00
parent 0cb1524cc6
commit 86fbde2de1

View File

@ -57,6 +57,11 @@ clean-doc:
clean: clean-dunst clean-dunstify clean-doc test-clean
distclean: clean clean-config
clean-config:
rm config.h
doc: docs/dunst.1
docs/dunst.1: docs/dunst.pod
pod2man --name=dunst -c "Dunst Reference" --section=1 --release=${VERSION} $< > $@