summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-12-20 16:09:25 +0100
committerVincent Untz <vuntz@gnome.org>2011-12-20 16:09:25 +0100
commit7fa48b327e9abb1fe7cc5de04f3301c865cae390 (patch)
treeeb2efb25709d3d3a7a1be7994c8e822fc4e83d1b
parent499748b93a410905e15e12216bf77d0180a15740 (diff)
downloaddesktop-file-utils-7fa48b327e9abb1fe7cc5de04f3301c865cae390.tar.gz
build: Fix distcheck
-rw-r--r--man/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 94ebf35..8303977 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -4,11 +4,13 @@ man_MANS = \
update-desktop-database.1
install-exec-hook:
+ test -d $(DESTDIR)$(mandir)/man1 || mkdir -p $(DESTDIR)$(mandir)/man1
cd $(DESTDIR)$(mandir)/man1 && \
rm -f desktop-file-edit.1 && \
$(LN_S) -f desktop-file-install.1 desktop-file-edit.1
uninstall-hook:
+ test -d $(DESTDIR)$(mandir)/man1 && \
cd $(DESTDIR)$(mandir)/man1 && \
rm -f desktop-file-edit.1