qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] f4b11e: Makefile: Fix "make clean"


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f4b11e: Makefile: Fix "make clean"
Date: Mon, 17 Mar 2014 05:00:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f4b11eee2f562c23b3efc33b96ba4542c9ca81aa
      
https://github.com/qemu/qemu/commit/f4b11eee2f562c23b3efc33b96ba4542c9ca81aa
  Author: Fam Zheng <address@hidden>
  Date:   2014-03-17 (Mon, 17 Mar 2014)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: Fix "make clean"

This fixes a dangerous bug: "make clean" after "make distclean" will
delete every single file including those under .git, if you do in-tree
build!

Rationale: A first "make distclean" will unset $(DSOSUF), a following
"make distclean" or "make clean" will find all the files and delete it.

Fix it by explicitly typing the file extensions here, and combine
multiple find invocations into one.

Signed-off-by: Fam Zheng <address@hidden>
Message-id: address@hidden
Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]