From b1281448be5fd35e40e1c26a805b4746560bc9ae Mon Sep 17 00:00:00 2001 From: pboutill Date: Fri, 22 Jul 2011 13:26:21 +0000 Subject: 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 git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14290 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tools/coq_makefile.ml4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3