mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
Makefile: add distclean target
...and move tags/cscope removal to it. 'make clean' is traditionally used to remove all compiler-generated stuff in order to do a clean rebuild. 'make distclean' cleans more, it is used to prepare sources for 'make dist' (creating a source tarball). It is unfortunate to find out you have to run 'make tags cscope' every time after 'make clean'. Signed-off-by: Kir Kolyshkin <kir@openvz.org> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
parent
fcfd705d39
commit
87b5456f62
8
Makefile
8
Makefile
@ -156,8 +156,6 @@ clean:
|
|||||||
$(Q) $(RM) -f ./*.img
|
$(Q) $(RM) -f ./*.img
|
||||||
$(Q) $(RM) -f ./*.out
|
$(Q) $(RM) -f ./*.out
|
||||||
$(Q) $(RM) -f ./*.bin
|
$(Q) $(RM) -f ./*.bin
|
||||||
$(Q) $(RM) -f ./tags
|
|
||||||
$(Q) $(RM) -f ./cscope*
|
|
||||||
$(Q) $(RM) -f ./$(PROGRAM)
|
$(Q) $(RM) -f ./$(PROGRAM)
|
||||||
$(Q) $(RM) -f ./$(HEAD-BLOB-GEN)
|
$(Q) $(RM) -f ./$(HEAD-BLOB-GEN)
|
||||||
$(Q) $(RM) -f ./$(RHEAD-BLOB-GEN)
|
$(Q) $(RM) -f ./$(RHEAD-BLOB-GEN)
|
||||||
@ -169,6 +167,12 @@ clean:
|
|||||||
$(Q) $(MAKE) -C Documentation clean
|
$(Q) $(MAKE) -C Documentation clean
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
$(E) " DISTCLEAN"
|
||||||
|
$(Q) $(RM) -f ./tags
|
||||||
|
$(Q) $(RM) -f ./cscope*
|
||||||
|
.PHONY: distclean
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
$(E) " GEN" $@
|
$(E) " GEN" $@
|
||||||
$(Q) $(RM) -f tags
|
$(Q) $(RM) -f tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user