summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Das Mohapatra <vivek@collabora.co.uk>2017-07-26 15:08:12 (GMT)
committerVivek Das Mohapatra <vivek@collabora.co.uk>2017-07-26 15:08:12 (GMT)
commitde545b7581b59ef0abb3b70e00bc310dd16e9ea9 (patch)
treefaf1b10a7bdf2be494df239ab2422075ef8586fb
parentcb1f2f7e25f83353ae56a978d6ae6d1567814ee9 (diff)
downloadlibcapsule-de545b7581b59ef0abb3b70e00bc310dd16e9ea9.tar.gz
libcapsule-de545b7581b59ef0abb3b70e00bc310dd16e9ea9.tar.xz
Work around gtk-doc.make claiming sole ownership of CLEANFILES
-rw-r--r--Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index a0be556..16658f8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -85,16 +85,11 @@ dist_pkgdata_DATA = data/capsule-shim.h \
data/capsule-shim.mk.in \
disabled.mk
-CLEANFILES = $(shim_files) $(shim_srcs)
BUILT_SOURCES = $(shim_srcs)
include $(top_srcdir)/disabled.mk
# ============================================================================
-# standalone man pages
-include $(top_srcdir)/documentation.mk
-
-# ============================================================================
# gtk-doc configuration: see /usr/share/doc/gtk-doc-tools/examples/Makefile.am
DOC_MODULE = libcapsule
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
@@ -115,3 +110,9 @@ GTKDOC_CFLAGS =
GTKDOC_LIBS =
include $(top_srcdir)/gtk-doc.make
+# ============================================================================
+# CLEANFILES is unconditionally set by gtk-doc.make, have to do these after:
+CLEANFILES += $(shim_files) $(shim_srcs)
+# ============================================================================
+# standalone man pages
+include $(top_srcdir)/documentation.mk