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>
Thu, 19 Jul 2018 00:13:54 +0000 (01:13 +0100)
commit89434f48db9b2c10b2e0e852ddd1529e9ce1b44f
tree40061ee50c1fa215649d9aa27fdc4cf66b0c3a93
parentd24f1d7172a9cb51f473df3a78d6ec3608c605df
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