libs,tools/include: Clean "clean" targets
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 25 Feb 2022 15:13:08 +0000 (15:13 +0000)
committerJulien Grall <jgrall@amazon.com>
Thu, 16 Jun 2022 15:58:50 +0000 (16:58 +0100)
commita03b3552d4771e8135b8beca8547ccb93349791c
tree170781926f6a46f570edaea90c80dca58a3dc984
parentb978a348eb8c47109ad98319fbd3cd4415d65fe8
libs,tools/include: Clean "clean" targets

There is no need for an extra "cleanlocal" target, we can use
double-colon rules instead.

Generated headers are now in tools/include/, so remove those file
there.

Remove -f flag as it's already in $(RM).

libs.mk:
  - don't try to remove "*.rpm" anymore.

libs/light:
  - "_paths.*.tmp" isn't created anymore.
  - clean "libxenlight_test.so" and "libxl_test_*.opic".

libs/stat:
  - don't remove $(DEPS_RM) from here as it is already done in
    "libs.mk".

libs/util:
  - fix clean of version-script file.

include/xen-foreign:
  - remove __pycache__

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/include/Makefile
tools/include/xen-foreign/Makefile
tools/libs/ctrl/Makefile
tools/libs/guest/Makefile
tools/libs/libs.mk
tools/libs/light/Makefile
tools/libs/stat/Makefile
tools/libs/util/Makefile
tools/libs/vchan/Makefile