groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 30/35: [mm]: Try to clean `$(DESTDIR)/$(tmacdir)`.


From: G. Branden Robinson
Subject: [groff] 30/35: [mm]: Try to clean `$(DESTDIR)/$(tmacdir)`.
Date: Tue, 10 Dec 2024 16:35:37 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit cc6fe1b47a7abf06edf4c1d6055cae5bf3da9565
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+       * 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 <g.branden.robinson@gmail.com>
 
        * 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]