Package: coinst / 1.9.1-1

make_clean Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Author: Ralf Treinen <treinen@debian.org>
Description: remove all generated files in clean target

--- a/viewer/Makefile
+++ b/viewer/Makefile
@@ -38,8 +38,9 @@
 	rm -f dot_parser.ml dot_parser.mli dot_lexer.ml
 
 clean::
-	rm -f coinst_converter coinst_viewer
+	rm -f coinst_converter coinst_viewer coinst_viewer.byte
 	rm -f jsviewer.js jsviewer.byte
+	rm -f dot_lexer.ml dot_parser.ml
 
 #####
 
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@
 	$(OCAMLOPT) -o $@  $(OPTLINKFLAGS) $^ $(LINKFLAGS)
 
 clean::
-	rm -f $(COINST) $(UPGRADE) $(TRANS)
+	rm -f $(COINST) $(UPGRADE) $(TRANS) $(COINST).byte $(UPGRADE).byte $(TRANS).byte
 
 #####