summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-12-14 18:07:58 +0100
committerVincent Untz <vuntz@gnome.org>2011-12-14 18:07:58 +0100
commitc1cf441c9797135a9d185fd48441515847b349af (patch)
tree6af73fa482e271a149017095ea4a8191e87505a2
parent90beafc33742b9ffa9761c98737af1210e70307e (diff)
downloaddesktop-file-utils-c1cf441c9797135a9d185fd48441515847b349af.tar.gz
man: Install a desktop-file-edit man page
It's actually just a symlink to the desktop-file-install one.
-rw-r--r--man/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index ac56bb7..94ebf35 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -3,6 +3,15 @@ man_MANS = \
desktop-file-install.1 \
update-desktop-database.1
+install-exec-hook:
+ cd $(DESTDIR)$(mandir)/man1 && \
+ rm -f desktop-file-edit.1 && \
+ $(LN_S) -f desktop-file-install.1 desktop-file-edit.1
+
+uninstall-hook:
+ cd $(DESTDIR)$(mandir)/man1 && \
+ rm -f desktop-file-edit.1
+
EXTRA_DIST = $(man_MANS)
-include $(top_srcdir)/git.mk