From f7457b30741cf859190caa2c5e9b9870f7da5048 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 25 May 2015 15:08:56 -0300 Subject: [PATCH] build: fix uninstall-local --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 208f5045..c0ae4853 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,7 +27,10 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-appstream-util # Remove doc directory on uninstall uninstall-local: - -rm -r $(gnome_calendardocdir) + @if test -d "$(docdir)"; \ + then \ + -rm -r $(docdir); \ + fi AUTHORS: @if test -d "$(srcdir)/.git"; \