[clutter] build: Move config.h under clutter/
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] build: Move config.h under clutter/
- Date: Mon, 30 Jul 2012 09:57:57 +0000 (UTC)
commit 9f83b64182f03025be3a785e2737ec56c1a6555c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Jul 28 17:40:57 2012 +0100
build: Move config.h under clutter/
We should not have header files in the project root.
Makefile.am | 2 --
build/win32/vs10/clutter.props | 8 ++++----
build/win32/vs9/clutter.vsprops | 8 ++++----
clutter/Makefile.am | 6 ++++++
config.h.win32.in => clutter/config.h.win32.in | 0
configure.ac | 4 ++--
6 files changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 1b024f9..1c37c56 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,8 +23,6 @@ EXTRA_DIST = \
ChangeLog.pre-git-import \
README.in \
README \
- config.h.win32 \
- config.h.win32.in \
$(NULL)
CLEANFILES = $(pcfiles)
diff --git a/build/win32/vs10/clutter.props b/build/win32/vs10/clutter.props
index 5b2f639..006c5dc 100644
--- a/build/win32/vs10/clutter.props
+++ b/build/win32/vs10/clutter.props
@@ -17,9 +17,9 @@
<TestProgDef>$(BaseBuildDef);TESTS_DATADIR="../share/clutter-$(ClutterApiVersion)/data"</TestProgDef>
<TestPerfProgDef>$(BaseBuildDef);TESTS_DATA_DIR="../share/clutter-$(ClutterApiVersion)/data";$(ClutterDisableDeprecationWarnings)</TestPerfProgDef>
<PreBuildWin>
-if exist ..\..\..\config.h goto DONE_CONFIG_H
+if exist ..\..\..\clutter\config.h goto DONE_CONFIG_H
-copy ..\..\..\config.h.win32 ..\..\..\config.h
+copy ..\..\..\clutter\config.h.win32 ..\..\..\clutter\config.h
:DONE_CONFIG_H
@@ -34,9 +34,9 @@ copy ..\..\..\clutter\clutter-config.h.win32 ..\..\..\clutter\clutter-config.h
:DONE_CLUTTER_CONFIG_H
</PreBuildWin>
<PreBuildGDK>
-if exist ..\..\..\config.h goto DONE_CONFIG_H
+if exist ..\..\..\clutter\config.h goto DONE_CONFIG_H
-copy ..\..\..\config.h.win32 ..\..\..\config.h
+copy ..\..\..\clutter\config.h.win32 ..\..\..\clutter\config.h
:DONE_CONFIG_H
diff --git a/build/win32/vs9/clutter.vsprops b/build/win32/vs9/clutter.vsprops
index 47b658e..b6ed7c8 100644
--- a/build/win32/vs9/clutter.vsprops
+++ b/build/win32/vs9/clutter.vsprops
@@ -77,8 +77,8 @@
<UserMacro
Name="PreBuildWin"
Value="
-if exist ..\..\..\config.h goto DONE_CONFIG_H

-copy ..\..\..\config.h.win32 ..\..\..\config.h

+if exist ..\..\..\clutter\config.h goto DONE_CONFIG_H

+copy ..\..\..\clutter\config.h.win32 ..\..\..\clutter\config.h

:DONE_CONFIG_H

if exist ..\..\..\clutter\clutter.bld.win32.win32 goto DONE_CLUTTER_CONFIG_H

del clutter.bld.*.win32

@@ -90,8 +90,8 @@ copy ..\..\..\clutter\clutter-config.h.win32 ..\..\..\clutter\clutter-config.h&#
<UserMacro
Name="PreBuildGDK"
Value="
-if exist ..\..\..\config.h goto DONE_CONFIG_H

-copy ..\..\..\config.h.win32 ..\..\..\config.h

+if exist ..\..\..\clutter\config.h goto DONE_CONFIG_H

+copy ..\..\..\clutter\config.h.win32 ..\..\..\clutter\config.h

:DONE_CONFIG_H

if exist ..\..\..\clutter\clutter.bld.GDK.win32 goto DONE_CLUTTER_CONFIG_H

del clutter.bld.*.win32

diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index 8ab4937..c811066 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -338,6 +338,12 @@ built_source_h = \
DISTCLEANFILES += clutter-config.h
EXTRA_DIST += clutter-config.h.in
+# win32 config header
+EXTRA_DIST += \
+ config.h.win32.in \
+ config.h.win32 \
+ $(NULL)
+
# version header
DISTCLEANFILES += clutter-version.h
EXTRA_DIST += clutter-version.h.in clutter-version.h
diff --git a/config.h.win32.in b/clutter/config.h.win32.in
similarity index 100%
rename from config.h.win32.in
rename to clutter/config.h.win32.in
diff --git a/configure.ac b/configure.ac
index 0a725f7..91b74a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ AC_INIT([clutter],
[http://www.clutter-project.org])
AC_CONFIG_SRCDIR([clutter/clutter.h])
-AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_HEADERS([clutter/config.h])
AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([build/autotools])
@@ -1151,7 +1151,6 @@ dnl ===========================================================================
AC_CONFIG_FILES([
Makefile
- config.h.win32
README
build/Makefile
@@ -1162,6 +1161,7 @@ AC_CONFIG_FILES([
build/win32/vs10/Makefile
clutter/Makefile
+ clutter/config.h.win32
clutter/clutter-config.h
clutter/clutter-version.h
clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]