[librsvgmm] Simplify code generation make rules



commit 40fdf1cf88d791d86d2577a5f86c8fa8f67268b0
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Sun Jul 12 21:50:38 2009 +0200

    Simplify code generation make rules

 build/generate-binding.am |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/build/generate-binding.am b/build/generate-binding.am
index 6533080..29329b3 100644
--- a/build/generate-binding.am
+++ b/build/generate-binding.am
@@ -40,16 +40,14 @@ gen_wrap_init	= $(PERL) $(GMMPROC_DIR)/generate_wrap_init.pl $(wrap_init_flags)
 all-local: $(stamp_files) $(output_dir)/wrap_init.cc
 
 mkdir-stamps:
-	test -d "$(stamp_dir)" || $(MKDIR_P) "$(stamp_dir)"
+	@$(MKDIR_P) "$(stamp_dir)"
 
 maintainer-clean-local:
 	-rm -rf "$(stamp_dir)"
 
-$(stamp_files): | mkdir-stamps
-
 $(output_dir)/wrap_init.cc:: $(path_files_hg)
 	$(gen_wrap_init) $(path_files_hg) >'$@'
 
-$(stamp_dir)/stamp-%:: %.hg %.ccg $(path_codegen_m4) $(files_defs)
+$(stamp_dir)/stamp-%:: %.hg %.ccg $(path_codegen_m4) $(files_defs) | mkdir-stamps
 	@echo timestamp >'$@'
 	$(gmmproc) $(notdir $*) $(srcdir) $(output_dir)



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