diff options
| -rw-r--r-- | core/git/gen.rc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/git/gen.rc b/core/git/gen.rc index 9258008f..140f7872 100644 --- a/core/git/gen.rc +++ b/core/git/gen.rc @@ -9,9 +9,12 @@ cflags\ rule cmdlist 'oldcwd=$$PWD && cd $srcdir && ./generate-cmdlist.sh $$oldcwd/$in >$$oldcwd/$out.tmp && mv $$oldcwd/$out.tmp $$oldcwd/$out' build '$outdir'/common-cmds.h cmdlist '$srcdir'/command-list.txt '|' '$srcdir'/Documentation/`{grep -v '^#' commands.txt} -deps=phony/core/^(curl libressl zlib)^/headers +deps=(\ + phony/core/^(curl libressl zlib)^/headers\ + '$outdir'/common-cmds.h\ +) -cc exec_cmd.c ; with cflags '$cflags ''-DPREFIX=""''' +cc exec_cmd.c '||' $deps ; with cflags '$cflags ''-DPREFIX=""''' # src/Makefile:/^LIB_OBJS.\+= lib libgit.a -d $"deps\ @@ -198,7 +201,7 @@ libs=(\ ) # src/Makefile:/^BUILTIN_OBJS.\+= -exe git git.c builtin/^(\ +exe git -d $"deps git.c builtin/^(\ add.c\ am.c\ annotate.c\ @@ -310,7 +313,7 @@ fn x { shift if(~ $#* 0) srcs=$name.c if not srcs=$* - exe git-$name $srcs $libs + exe git-$name -d $"deps $srcs $libs file libexec/git-core/git-$name '$outdir'/git-$name 755 } |
