gbranden pushed a commit to branch master
in repository groff.

commit cc6fe1b47a7abf06edf4c1d6055cae5bf3da9565
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Dec 9 04:39:10 2024 -0600

    [mm]: Try to clean `$(DESTDIR)/$(tmacdir)`.
    
    * contrib/mm/mm.am (uninstall_mm): Attempt to remove
      `$(DESTDIR)/$(tmacdir)` directory, ignoring failure, in case we just
      removed the last thing in it.
---
 contrib/mm/ChangeLog | 6 ++++++
 contrib/mm/mm.am     | 1 +
 2 files changed, 7 insertions(+)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index dbf06997a..775bc1274 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-09  G. Branden Robinson <[email protected]>
+
+       * mm.am (uninstall_mm): Attempt to remove
+       `$(DESTDIR)/$(tmacdir)` directory, ignoring failure, in case we
+       just removed the last thing in it.
+
 2024-12-04  G. Branden Robinson <[email protected]>
 
        * tests/letters-format-correctly.sh:
diff --git a/contrib/mm/mm.am b/contrib/mm/mm.am
index 6fa6aee91..77fe84258 100644
--- a/contrib/mm/mm.am
+++ b/contrib/mm/mm.am
@@ -139,6 +139,7 @@ uninstall_mm:
        $(RM) $(DESTDIR)$(tmacdir)/$(tmac_m_prefix)mse.tmac
        $(RM) $(DESTDIR)$(tmacdir)/$(tmac_m_prefix)mmse.tmac
        -rmdir $(DESTDIR)$(tmacdir)/mm
+       -rmdir $(DESTDIR)$(tmacdir)
 
 # Special distribution rule: we copy all .tmac files from contrib/mm
 dist-hook: dist_mm

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to