From 827db6f7c749f053d7a8efba6e556652b631d4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 15 Feb 2017 23:37:21 +0100 Subject: [PATCH] build: Clean up .pc files --- cogl/cogl-gles2/Makefile.am | 4 ++++ src/Makefile.am | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cogl/cogl-gles2/Makefile.am b/cogl/cogl-gles2/Makefile.am index f7adf43ca..294228d7a 100644 --- a/cogl/cogl-gles2/Makefile.am +++ b/cogl/cogl-gles2/Makefile.am @@ -2,6 +2,8 @@ NULL = +DISTCLEANFILES = + mutterlibdir = $(libdir)/mutter mutterlib_LTLIBRARIES = libmutter-cogl-gles2-@LIBMUTTER_API_VERSION@.la @@ -29,3 +31,5 @@ pc_files = mutter-cogl-gles2-$(LIBMUTTER_API_VERSION).pc pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(pc_files) + +DISTCLEANFILES += $(pc_files) diff --git a/src/Makefile.am b/src/Makefile.am index 6997151c2..405108ed2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -532,7 +532,8 @@ CLEANFILES = \ $(gir_DATA) DISTCLEANFILES = \ - $(libmutterinclude_built_headers) + $(libmutterinclude_built_headers) \ + $(pkgconfig_DATA) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libmutter-$(LIBMUTTER_API_VERSION).pc