]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hyperv: erase "generated files" sentinel during make maintainer-clean
authorLaine Stump <laine@laine.org>
Thu, 21 Jun 2018 07:42:32 +0000 (03:42 -0400)
committerLaine Stump <laine@laine.org>
Thu, 21 Jun 2018 08:04:13 +0000 (04:04 -0400)
commit205462b60bf0e347187178b7e2a525d931e5db76
treef6663ffea5436fad9cc3c846512d2bfdc1f7d835
parent34dc7f4b83360c1d04b11bbfe0339f83d81d8cd9
hyperv: erase "generated files" sentinel during make maintainer-clean

Re-generating of generated source files in the hyperv directory
depends on src/.hyperv_wmi_generator.stamp not existing, or having a
timestamp older than src/hyperv/hyperv_wmi_generator.py. "make
maintainer-clean" erases the generated files, but not this sentinel
file, so the erased files aren't regenerated during the next
make. Once we add it to the list of MAINTAINERCLEANFILES, it gets
deleted at the same time as the generated files, so make is able to
understand they need regeneration.

Signed-off-by: Laine Stump <laine@laine.org>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/hyperv/Makefile.inc.am