[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Multiple 'make uninstall' should not fail even for TE
From: |
Karl Berry |
Subject: |
Re: [help-texinfo] Multiple 'make uninstall' should not fail even for TEXINFOS. |
Date: |
Mon, 3 Nov 2008 18:20:27 -0600 |
It would let the uninstall rules generated by automake be
idempotent, which seems sensible to me. Any reasons against doing
so?
...
- install-info --info-dir="$(DESTDIR)$(infodir)" --remove
"$(DESTDIR)$(infodir)/$$relfile"; \
+ if install-info --info-dir="$(DESTDIR)$(infodir)" --remove
"$(DESTDIR)$(infodir)/$$relfile"; \
+ then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1;
fi; \
Seems good to me.
Thanks,
k