groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/05: src/devices/xditview/xditview.am: Simplify.


From: G. Branden Robinson
Subject: [groff] 04/05: src/devices/xditview/xditview.am: Simplify.
Date: Sun, 3 Apr 2022 12:24:10 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit c66cb7725f155fa57c67ea5a5fde4584bdad08f3
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Apr 4 01:06:44 2022 +1000

    src/devices/xditview/xditview.am: Simplify.
    
    * src/devices/xditview/xditview.am (install_xditview) [!WITHOUT_X11]:
      Stop backing up existing "GXditview" and "GXditview-color" application
      defaults files.  There is no symmetric restoration of them in the
      uninstall target, and it seems like unjustifiable complexity to add
      such.  These are groff-specific file names, installed (by default) to
      /usr, not /etc, so they are not going to be "configuration files" in
      Debian-based systems, for example (and likely not elsewhere).  There
      are other ways to supersede application defaults for programs using
      the X Toolkit Intrinsicts.
---
 ChangeLog                        | 13 +++++++++++++
 src/devices/xditview/xditview.am |  8 --------
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 408fcbc1..167b1df2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2022-04-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/devices/xditview/xditview.am (install_xditview)
+       [!WITHOUT_X11]: Stop backing up existing "GXditview" and
+       "GXditview-color" application defaults files.  There is no
+       symmetric restoration of them in the uninstall target, and it
+       seems like unjustifiable complexity to add such.  These are
+       groff-specific file names, installed (by default) to /usr,
+       not /etc, so they are not going to be "configuration files" in
+       Debian-based systems, for example (and likely not elsewhere).
+       There are other ways to supersede application defaults for
+       programs using the X Toolkit Intrinsicts.
+
 2022-04-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * doc/doc.am: Stop treating "gnu.eps" as an "example" file; it
diff --git a/src/devices/xditview/xditview.am b/src/devices/xditview/xditview.am
index ad30a171..646c95b6 100644
--- a/src/devices/xditview/xditview.am
+++ b/src/devices/xditview/xditview.am
@@ -98,14 +98,6 @@ install_xditview: \
          $(DESTDIR)$(fontdir)/FontMap-X11
        -test -d $(DESTDIR)$(appresdir) \
          || $(mkinstalldirs) $(DESTDIR)$(appresdir)
-       if test -f $(DESTDIR)$(appresdir)/GXditview; then \
-         mv $(DESTDIR)$(appresdir)/GXditview \
-           $(DESTDIR)$(appresdir)/GXditview.old; \
-       fi
-       if test -f $(DESTDIR)$(appresdir)/GXditview-color; then \
-         mv $(DESTDIR)$(appresdir)/GXditview-color \
-           $(DESTDIR)$(appresdir)/GXditview-color.old; \
-       fi
        $(INSTALL_DATA) $(xditview_srcdir)/GXditview.ad \
          $(DESTDIR)$(appresdir)/GXditview
        $(INSTALL_DATA) $(xditview_srcdir)/GXditview-color.ad \



reply via email to

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