diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-11-20 17:31:27 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-11-20 17:31:27 +0800 |
| commit | 389ceafbf697f2df2feceb9ba4fb80c37b39ed47 (patch) | |
| tree | aa83fc7056c8f30c4f03d807d4f10f7182206768 | |
| parent | e246b79cb2b8b87d9c7d87b8832004a39fc5c4d0 (diff) | |
| download | mruby-389ceafbf697f2df2feceb9ba4fb80c37b39ed47.tar.gz mruby-389ceafbf697f2df2feceb9ba4fb80c37b39ed47.zip | |
Modify comments for generator
| -rw-r--r-- | mrbgems/generator.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/mrbgems/generator.c b/mrbgems/generator.c index aff0fb69e..54cecd128 100644 --- a/mrbgems/generator.c +++ b/mrbgems/generator.c @@ -41,9 +41,8 @@ directory_exists(char path[4096]) { * String at the start of the template * end: * String at the end of the template - * skip_if_src_not_exist: - * TRUE => skip template for GEMs with SRC directory - * FALSE => template for all GEMs + * dir_to_skip: + * Name of a directory which will be skipped * */ static char* @@ -166,12 +165,10 @@ make_gem_makefile() printf("\n"); - /* Rule for building all C extensions of each Gem */ - if (!gem_c_empty) { - printf("all_gems :\n%s\n", - for_each_gem("\t@$(MAKE) -C ", " $(MAKE_FLAGS)\n", "", "", "") - ); - } + /* Rule to make every GEM */ + printf("all_gems :\n%s\n", + for_each_gem("\t@$(MAKE) -C ", " $(MAKE_FLAGS)\n", "", "", "") + ); /* Rule for building all Ruby Extension of each Gem */ if (!gem_ruby_empty) { |
