In dependency file, use ; between statements.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 3 Jan 2020 14:50:55 +0000 (14:50 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 3 Jan 2020 14:51:47 +0000 (14:51 +0000)
So this parses correctly.

Goalfile.in

index 617c9c9..2fcf7dd 100644 (file)
@@ -78,7 +78,8 @@ goal maintainer-clean = : clean {
     # output which doesn't work directly in goals.
     %OCAMLDEP src/*.ml src/*.mli |
         sed ':x; /\\$/ { N; s/\\\n//; tx }' |
-        sed 's,[./[:alnum:]]\+,"&",g' > %@-t
+        sed 's,[./[:alnum:]]\+,"&",g' |
+        sed 's,.*,& ;,' > %@-t
     mv %@-t %@
 }