[epiphany] Move profile migration tools from src/ to lib/



commit 7a295e2c5db878dbd076c2f582cbae8aa738c3b7
Author: Xan Lopez <xan gnome org>
Date:   Tue Dec 15 10:31:47 2009 +0100

    Move profile migration tools from src/ to lib/
    
    We'll use them from embed/ for form password saving, and embed/ can't
    use code from src/

 lib/Makefile.am                       |   14 ++++++++++++++
 {src => lib}/ephy-nss-glue.c          |    0
 {src => lib}/ephy-nss-glue.h          |    0
 {src => lib}/ephy-profile-migration.c |    0
 {src => lib}/ephy-profile-migration.h |    0
 src/Makefile.am                       |   16 +---------------
 6 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 3ea7e1c..58c363a 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -20,6 +20,7 @@ NOINST_H_FILES = \
 	ephy-node-common.h			\
 	ephy-object-helpers.h			\
 	ephy-prefs.h				\
+	ephy-profile-migration.h	        \
 	ephy-print-utils.h			\
 	ephy-shlib-loader.h			\
 	ephy-signal-accumulator.h		\
@@ -57,6 +58,7 @@ libephymisc_la_SOURCES = \
 	ephy-node-db.c				\
 	ephy-object-helpers.c			\
 	ephy-prefs.h				\
+	ephy-profile-migration.c	        \
 	ephy-print-utils.c			\
 	ephy-shlib-loader.c			\
 	ephy-signal-accumulator.c		\
@@ -98,6 +100,18 @@ libephymisc_la_LIBADD += \
 	$(SPELLCHECKER_LIBS)
 endif
 
+if ENABLE_NSS
+NOINST_H_FILES += \
+	ephy-nss-glue.h \
+	$(NULL)
+
+libephymisc_la_SOURCES += \
+	ephy-nss-glue.c
+	$(NULL)
+
+libephymisc_la_CFLAGS += $(NSS_CFLAGS)
+endif # ENABLE_NSS
+
 BUILT_SOURCES = \
 	ephy-lib-type-builtins.c	\
 	ephy-lib-type-builtins.h	\
diff --git a/src/ephy-nss-glue.c b/lib/ephy-nss-glue.c
similarity index 100%
rename from src/ephy-nss-glue.c
rename to lib/ephy-nss-glue.c
diff --git a/src/ephy-nss-glue.h b/lib/ephy-nss-glue.h
similarity index 100%
rename from src/ephy-nss-glue.h
rename to lib/ephy-nss-glue.h
diff --git a/src/ephy-profile-migration.c b/lib/ephy-profile-migration.c
similarity index 100%
rename from src/ephy-profile-migration.c
rename to lib/ephy-profile-migration.c
diff --git a/src/ephy-profile-migration.h b/lib/ephy-profile-migration.h
similarity index 100%
rename from src/ephy-profile-migration.h
rename to lib/ephy-profile-migration.h
diff --git a/src/Makefile.am b/src/Makefile.am
index c8bc0d4..2ba6f23 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,7 +28,6 @@ NOINST_H_FILES = \
 	ephy-location-action.h		\
 	ephy-navigation-action.h	\
 	ephy-password-info.h	\
-	ephy-profile-migration.h	\
 	ephy-tabs-menu.h		\
 	ephy-toolbars-model.h		\
 	ephy-toolbar.h			\
@@ -75,8 +74,7 @@ libephymain_la_SOURCES = \
 	ephy-lockdown.c			\
 	ephy-navigation-action.c	\
 	ephy-notebook.c			\
-	ephy-password-info.c	\
-	ephy-profile-migration.c	\
+	ephy-password-info.c	        \
 	ephy-session.c			\
 	ephy-shell.c			\
 	ephy-statusbar.c		\
@@ -140,18 +138,6 @@ libephymain_la_SOURCES += \
 libephymain_la_CFLAGS += $(SEED_CFLAGS)
 endif # ENABLE_SEED
 
-if ENABLE_NSS
-NOINST_H_FILES += \
-	ephy-nss-glue.h \
-	$(NULL)
-
-libephymain_la_SOURCES += \
-	ephy-nss-glue.c
-	$(NULL)
-
-libephymain_la_CFLAGS += $(NSS_CFLAGS)
-endif # ENABLE_NSS
-
 epiphany_SOURCES = ephy-main.c
 
 epiphany_CPPFLAGS = \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]