Never clean files in quilt status directory
authorBen Hutchings <ben@decadent.org.uk>
Sun, 15 Jul 2018 20:53:39 +0000 (21:53 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 6 Jan 2019 19:33:01 +0000 (19:33 +0000)
commita2674dafd71d9eba7ba0bc03a7608b00631bdcbd
tree39d30875c270dfc33b29db748b532b5ea4de1e02
parent008322698c2b890e05dbdb89ae151d91b5a441dc
Never clean files in quilt status directory

The top-level "distclean" and "mrproper" targets delete zero-size
files in the source, perhaps assumed to be stamp files.  This is fine
for actual source direcgtories, but disastrous for a quilt status
directory.

For each patch, quilt stores the previous versions of the modified
files in a subdirectory of .pc.  If the patch creates a file, this
file will be empty.  Removing it effectively removes the file creation
from the patch.

The .git directory is already excluded from the clean rules for
a similar reason, so do the same for .pc.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Name never-clean-files-in-quilt-status-directory.patch
Makefile