summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@unixuser.org>2012-10-31 15:37:30 +0900
committerDaiki Ueno <ueno@unixuser.org>2012-12-30 14:25:41 +0900
commit4e2469f73fa1f6c0112275b1eadba104f867dd0c (patch)
tree34ded2400e5d121b6d3282a450b1afdd2b21704f /modules
parent9c6e23a90e40799f3530535fc55b5cb740b6e649 (diff)
downloadcaribou-4e2469f73fa1f6c0112275b1eadba104f867dd0c.tar.gz
build: use git.mk
Use git.mk to generate .gitignore files upon building. Also remove *.[ch] from CLEANFILES since it makes little sense with automake Vala support. https://bugzilla.gnome.org/show_bug.cgi?id=687315
Diffstat (limited to 'modules')
-rw-r--r--modules/Makefile.am2
-rw-r--r--modules/gtk2/Makefile.am6
-rw-r--r--modules/gtk3/Makefile.am6
3 files changed, 14 insertions, 0 deletions
diff --git a/modules/Makefile.am b/modules/Makefile.am
index ca20e3b..d0933e0 100644
--- a/modules/Makefile.am
+++ b/modules/Makefile.am
@@ -14,3 +14,5 @@ gtk_modules_DATA = caribou-gtk-module.desktop
endif
EXTRA_DIST = caribou-gtk-module.desktop
+
+-include $(top_srcdir)/git.mk
diff --git a/modules/gtk2/Makefile.am b/modules/gtk2/Makefile.am
index 83019e5..049cc82 100644
--- a/modules/gtk2/Makefile.am
+++ b/modules/gtk2/Makefile.am
@@ -34,3 +34,9 @@ libcaribou_gtk_module_la_LDFLAGS = \
EXTRA_DIST = \
vapi-fixes.vapi \
$(NULL)
+
+GITIGNOREFILES = \
+ $(libcaribou_gtk_module_la_SOURCES:.vala=.c) \
+ libcaribou_gtk_module_la_vala.stamp
+
+-include $(top_srcdir)/git.mk
diff --git a/modules/gtk3/Makefile.am b/modules/gtk3/Makefile.am
index e2d819b..7b0cfa9 100644
--- a/modules/gtk3/Makefile.am
+++ b/modules/gtk3/Makefile.am
@@ -33,3 +33,9 @@ libcaribou_gtk_module_la_LDFLAGS = \
EXTRA_DIST = \
vapi-fixes.vapi \
$(NULL)
+
+GITIGNOREFILES = \
+ $(libcaribou_gtk_module_la_SOURCES:.vala=.c) \
+ libcaribou_gtk_module_la_vala.stamp
+
+-include $(top_srcdir)/git.mk