[gcalctool] Add correct dependencies to makefile (bug #631994)



commit e41a39bbcbf4ad8cd040ae11bcce8936afa1dcf3
Author: Robin Sonefors <ozamosi flukkost nu>
Date:   Tue Oct 12 20:32:16 2010 +0200

    Add correct dependencies to makefile (bug #631994)

 src/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 6ffcfc4..4691314 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -95,6 +95,10 @@ math-enums.h: math-enums.h.template
 math-enums.c: math-enums.c.template math-enums.h
 	$(AM_V_GEN)$(GLIB_MKENUMS) --template $(srcdir)/math-enums.c.template $(srcdir)/mp-serializer.h > math-enums.c
 
+# Fix dependencies
+math-serializer.c: math-enums.h
+math-equation.c: math-enums.h
+
 # Install a symlink between gcalctool and gnome-calculator
 install-exec-hook:
 	test -e "$(DESTDIR)$(bindir)/gnome-calculator" \



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