diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-27 22:58:06 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-27 23:01:04 -0700 |
| commit | ca1e6b2d92d035aac8e350d30dd5697b5e3cd518 (patch) | |
| tree | e19d1eab5d276432b01df7c54e5bfbfbc2e26d82 /core/git | |
| parent | 19b1afa805ca8ec3ef056caaac0803be51bb3189 (diff) | |
git: Declare some missing dependencies
Diffstat (limited to 'core/git')
| -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 } |
