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"; \