diff options
| author | pboutill | 2011-07-22 13:26:21 +0000 |
|---|---|---|
| committer | pboutill | 2011-07-22 13:26:21 +0000 |
| commit | b1281448be5fd35e40e1c26a805b4746560bc9ae (patch) | |
| tree | 2686097bb58c348fc0b959579be8a2e47dd2b632 | |
| parent | 6555a458b6a2c254d159ed1db015334f5d961d1c (diff) | |
Allow custom targets without commands specified
$ coq_makefile -custom "" "install2" "install"
for instance does:
install: install2
If you tried to do this before, coq_makefile used to insert a TAB after the
rule.
Signed-off-by: Paolo Herms <paolo.herms@cea.fr>
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14290 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | tools/coq_makefile.ml4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coq_makefile.ml4 b/tools/coq_makefile.ml4 index a44bff57ee..a17f3713e0 100644 --- a/tools/coq_makefile.ml4 +++ b/tools/coq_makefile.ml4 @@ -399,7 +399,7 @@ let rec special = function let custom sps = let pr_path (file,dependencies,com) = print file; print ": "; print dependencies; print "\n"; - print "\t"; print com; print "\n\n" + if com <> "" then (print "\t"; print com); print "\n\n" in if sps <> [] then section "Custom targets."; List.iter pr_path sps |
