Commit 646db05dfda8856846d06ce341a9e706fb576bd8

Werner Lemberg 2014-03-01T12:48:07

Make `make clean' remove `freetype2.pc'. This is a generated file at build time, not configure time. * builds/unix/unix-def.in (DISTCLEAN): Move `freetype2.pc' to ... (CLEAN): This variable.

diff --git a/ChangeLog b/ChangeLog
index 9bf5d7e..c32fdba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2014-03-01  Werner Lemberg  <wl@gnu.org>
 
+	Make `make clean' remove `freetype2.pc'.
+
+	This is a generated file at build time, not configure time.
+
+	* builds/unix/unix-def.in (DISTCLEAN): Move `freetype2.pc' to ...
+	(CLEAN): This variable.
+
+2014-03-01  Werner Lemberg  <wl@gnu.org>
+
 	Use pkg-config for detecting libpng and libbz2 also.
 
 	* builds/unix/configure.raw (HAVE_PKG): New variable.
diff --git a/builds/unix/unix-def.in b/builds/unix/unix-def.in
index 2e5f9e5..31d2441 100644
--- a/builds/unix/unix-def.in
+++ b/builds/unix/unix-def.in
@@ -34,16 +34,16 @@ INSTALL_PROGRAM := @INSTALL_PROGRAM@
 INSTALL_SCRIPT  := @INSTALL_SCRIPT@
 MKINSTALLDIRS   := $(BUILD_DIR)/mkinstalldirs
 
-CLEAN += $(OBJ_BUILD)/freetype-config
-
-DISTCLEAN += $(OBJ_BUILD)/config.cache    \
-             $(OBJ_BUILD)/config.log      \
-             $(OBJ_BUILD)/config.status   \
-             $(OBJ_BUILD)/unix-def.mk     \
-             $(OBJ_BUILD)/unix-cc.mk      \
-             $(OBJ_BUILD)/ftconfig.h      \
-             $(OBJ_BUILD)/freetype2.pc    \
-             $(LIBTOOL)                   \
+CLEAN += $(OBJ_BUILD)/freetype-config \
+         $(OBJ_BUILD)/freetype2.pc
+
+DISTCLEAN += $(OBJ_BUILD)/config.cache  \
+             $(OBJ_BUILD)/config.log    \
+             $(OBJ_BUILD)/config.status \
+             $(OBJ_BUILD)/unix-def.mk   \
+             $(OBJ_BUILD)/unix-cc.mk    \
+             $(OBJ_BUILD)/ftconfig.h    \
+             $(LIBTOOL)                 \
              $(OBJ_BUILD)/Makefile