Add systemd-coredumpctl as an alias for coredumpctl
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 22 Jun 2014 17:38:48 +0000 (13:38 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 22 Jun 2014 19:30:19 +0000 (15:30 -0400)
Should make the transition easier for exisiting users.

Makefile-man.am
Makefile.am
man/coredumpctl.xml

index 1e4ec67..edea4c3 100644 (file)
@@ -666,8 +666,10 @@ if ENABLE_COREDUMP
 MANPAGES += \
        man/coredumpctl.1
 MANPAGES_ALIAS += \
-       #
-
+       man/systemd-coredumpctl.1
+man/systemd-coredumpctl.1: man/coredumpctl.1
+man/systemd-coredumpctl.html: man/coredumpctl.html
+       $(html-alias)
 
 endif
 
index 8fe7cbe..20b6082 100644 (file)
@@ -3794,6 +3794,9 @@ dist_bashcompletion_DATA += \
 dist_zshcompletion_DATA += \
        shell-completion/zsh/_coredumpctl
 
+GENERAL_ALIASES += \
+       $(bindir)/coredumpctl $(bindir)/systemd-coredumpctl
+
 sysctl_DATA = \
        sysctl.d/50-coredump.conf
 
index 5ea865e..0cd3fe5 100644 (file)
@@ -45,6 +45,8 @@
 
         <refnamediv>
                 <refname>coredumpctl</refname>
+                <refname>systemd-coredumpctl</refname>
+
                 <refpurpose>Retrieve coredumps from the journal</refpurpose>
         </refnamediv>
 
                 <para><command>coredumpctl</command> may be used to
                 retrieve coredumps from
                 <citerefentry><refentrytitle>systemd-journald</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
+
+                <para><command>systemd-coredumpctl</command> is a
+                depracated alias for
+                <command>coredumpctl</command>.</para>
         </refsect1>
 
         <refsect1>