speedo: "make clean-gnupg" may not remove the source.

* build-aux/speedo.mk (clean-$(1)): Take care of gnupg.
--

I learned it the hard way and lost a bunch of stashed changes.
This commit is contained in:
Werner Koch 2014-06-25 19:44:28 +02:00
parent 2480b02531
commit c029a184d6
1 changed files with 9 additions and 5 deletions

View File

@ -735,7 +735,11 @@ clean-$(1):
(cd "$$$${pkgbdir}" 2>/dev/null && \
$(MAKE) --no-print-directory \
$$$${pkgmkargs_inst} uninstall V=0 ) || true ;\
rm -fR "$$$${pkgsdir}" "$$$${pkgbdir}" || true)
if [ "$(1)" = "gnupg" ]; then \
rm -fR "$$$${pkgbdir}" || true ;\
else \
rm -fR "$$$${pkgsdir}" "$$$${pkgbdir}" || true;\
fi)
-rm -f $(stampdir)/stamp-final-$(1) $(stampdir)/stamp-$(1)-*