aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-06 22:05:35 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-06 22:05:35 +0000
commitf77232df5389a47ef4ea26aaf34aa605889b3871 (patch)
treeb8e77e743bf2d6157ef7ba008273443a4de4f138
parent2e37b1dfd143158684198e4852a351c74916939f (diff)
downloadpaludis-f77232df5389a47ef4ea26aaf34aa605889b3871.tar.gz
paludis-f77232df5389a47ef4ea26aaf34aa605889b3871.tar.xz
Work around automake being a bit silly with subdir dependencies
-rw-r--r--src/gtkpaludis/vtemm/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gtkpaludis/vtemm/Makefile.am b/src/gtkpaludis/vtemm/Makefile.am
index fc050b9..5873edc 100644
--- a/src/gtkpaludis/vtemm/Makefile.am
+++ b/src/gtkpaludis/vtemm/Makefile.am
@@ -22,7 +22,12 @@ if ENABLE_GTK
BUILT_SOURCES = terminal_widget.hh reaper.hh $(vte_generated_sources)
-terminal_widget.hh terminal_widget.cc : terminal_widget.hg terminal_widget.ccg
+# automake is rather weird on this one...
+automake-deps-hack.tmp :
+ $(MAKE) -C defs
+ touch $@
+
+terminal_widget.hh terminal_widget.cc : terminal_widget.hg terminal_widget.ccg automake-deps-hack.tmp
mkdir -p private
@GMMPROC@ --unwrapped -I converts --defs defs terminal_widget . .
sed -e 's@/\* vim: set @/* vim: set ro @' < ./terminal_widget.h > ./terminal_widget.hh
@@ -36,7 +41,7 @@ terminal_widget.hh terminal_widget.cc : terminal_widget.hg terminal_widget.ccg
rm ./terminal_widget.cc.tmp
mv ./private/terminal_widget_p.h ./private/terminal_widget_p.hh
-reaper.hh reaper.cc : reaper.hg reaper.ccg
+reaper.hh reaper.cc : reaper.hg reaper.ccg automake-deps-hack.tmp
mkdir -p private
@GMMPROC@ --unwrapped -I converts --defs defs reaper . .
sed -e 's@/\* vim: set @/* vim: set ro @' < ./reaper.h > ./reaper.hh
@@ -62,6 +67,6 @@ clean-local :
endif
-CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda $(vte_generated_sources)
+CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda $(vte_generated_sources) automake-deps-hack.tmp
MAINTAINERCLEANFILES = Makefile.in