[seed] Uninstall documentation correctly
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seed] Uninstall documentation correctly
- Date: Fri, 16 Sep 2016 12:57:04 +0000 (UTC)
commit ec7aaf7a9d1a5a363894e0f7dafd2e9535277e8e
Author: Mathieu Duponchelle <mathieu duponchelle opencreed com>
Date: Fri Sep 16 06:13:00 2016 +0200
Uninstall documentation correctly
https://bugzilla.gnome.org/show_bug.cgi?id=771510
Makefile.am | 4 ++++
doc/mapping/Makefile.am | 4 +++-
doc/modules/Makefile.am | 3 +++
doc/tutorial-standalone/Makefile.am | 2 ++
4 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b4c7256..1985159 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -92,4 +92,8 @@ dist-hook:
echo A git clone is required to generate a ChangeLog >&2; \
fi
+CLEANFILES = \
+ .ycm_extra_conf.pyc \
+ $(NULL)
+
-include $(top_srcdir)/git.mk
diff --git a/doc/mapping/Makefile.am b/doc/mapping/Makefile.am
index 8d70465..d396fa1 100644
--- a/doc/mapping/Makefile.am
+++ b/doc/mapping/Makefile.am
@@ -1,4 +1,3 @@
-
tutorialdir=$(docdir)/mapping
tutorial_DATA = \
mapping.html \
@@ -7,6 +6,9 @@ EXTRA_DIST = \
mapping.html.in \
enum-mapping.png
+uninstall-local:
+ rm -rf $(docdir)/mapping
+
## File created by the gnome-build tools
diff --git a/doc/modules/Makefile.am b/doc/modules/Makefile.am
index 8e0b12c..03fe2ae 100644
--- a/doc/modules/Makefile.am
+++ b/doc/modules/Makefile.am
@@ -16,4 +16,7 @@ install-data-local:
CLEANFILES = html/*
endif
+uninstall-local:
+ rm -rf $(DESTDIR)$(docdir)/modules
+
-include $(top_srcdir)/git.mk
diff --git a/doc/tutorial-standalone/Makefile.am b/doc/tutorial-standalone/Makefile.am
index 6f86667..8e5b03e 100644
--- a/doc/tutorial-standalone/Makefile.am
+++ b/doc/tutorial-standalone/Makefile.am
@@ -23,6 +23,8 @@ EXTRA_DIST = \
packing.svg \
tutorial.html.in
+uninstall-local:
+ rm -rf $(docdir)/tutorial
## File created by the gnome-build tools
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]