[gnome-calendar/wip/pandusonu/week-view: 3/31] build: move week view to views/ subfolder



commit 4119664b531a53dcc48e39a1a8ce62e53ae785f8
Author: pandusonu2 <pandu sonu yahoo com>
Date:   Sun May 29 02:06:04 2016 +0530

    build: move week view to views/ subfolder
    
    Moved the gcal-week-view.{h,c} into views folder. Made changes in the src/Makefile.am and configure.ac to 
include the views/gcal-week-view.h.

 configure.ac                     |    2 +-
 src/Makefile.am                  |    5 +++--
 src/{ => views}/gcal-week-view.c |    0
 src/{ => views}/gcal-week-view.h |    0
 4 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 663570a..ef32d94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,7 @@ AC_CONFIG_AUX_DIR([build-aux])
 AM_SILENT_RULES([yes])
 
 # require automake 1.13
-AM_INIT_AUTOMAKE([1.13 dist-xz no-dist-gzip tar-ustar])
+AM_INIT_AUTOMAKE([1.13 dist-xz no-dist-gzip tar-ustar subdir-objects])
 AM_MAINTAINER_MODE([enable])
 
 dnl ***************************************************************************
diff --git a/src/Makefile.am b/src/Makefile.am
index ab79ae7..c7221f1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,5 @@
 AM_CPPFLAGS =                                             \
+    -I$(srcdir)/views                                     \
     -DPACKAGE_LOCALE_DIR=\""$(localedir)"\"               \
     -DPACKAGE_SRC_DIR=\""$(srcdir)"\"                     \
     -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"                \
@@ -66,8 +67,8 @@ gnome_calendar_SOURCES =                                  \
     gcal-utils.h                                          \
     gcal-view.c                                           \
     gcal-view.h                                           \
-    gcal-week-view.c                                      \
-    gcal-week-view.h                                      \
+    views/gcal-week-view.c                                \
+    views/gcal-week-view.h                                \
     gcal-window.h                                         \
     gcal-window.c                                         \
     gcal-year-view.c                                      \
diff --git a/src/gcal-week-view.c b/src/views/gcal-week-view.c
similarity index 100%
rename from src/gcal-week-view.c
rename to src/views/gcal-week-view.c
diff --git a/src/gcal-week-view.h b/src/views/gcal-week-view.h
similarity index 100%
rename from src/gcal-week-view.h
rename to src/views/gcal-week-view.h


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