ocaml-atd (1.0.1-1) debian-changes-0.9.2-1

Summary

 Makefile |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Upstream changes introduced in version 0.9.2-1
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 ocaml-atd (0.9.2-1) unstable; urgency=low
 .
   * Initial release. (Closes: #605670)
 .
 The person named in the Author field signed this changelog entry.
Author: Sylvain Le Gall <gildor@debian.org>
Bug-Debian: http://bugs.debian.org/605670

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- ocaml-atd-0.9.2.orig/Makefile
+++ ocaml-atd-0.9.2/Makefile
@@ -58,7 +58,7 @@ endif
 
 default: all opt
 
-all: VERSION META atd.cma
+all: VERSION META atd.cma atdcat.byte
 
 opt: VERSION META atd.cmxa atdcat
 
@@ -119,6 +119,11 @@ atdcat: dep $(CMI) $(CMX) atdcat.ml
 		-package "$(OCAMLPACKS)" -linkpkg \
 		$(CMX) atdcat.ml
 
+atdcat.byte: dep $(CMI) $(CMO) atdcat.ml
+	ocamlfind ocamlc $(OCAMLFLAGS) -o atdcat \
+		-package "$(OCAMLPACKS)" -linkpkg \
+		$(CMO) atdcat.ml
+
 .PHONY: doc
 doc: odoc/index.html atdcat
 	cd manual; $(MAKE)
@@ -144,6 +149,13 @@ clean:
 	rm -f $(patsubst %.mly,%.ml, $(MLY))
 	rm -f $(patsubst %.mll,%.ml, $(MLL))
 	rm -f atdcat.cm[ioxa] atdcat.o atdcat.cma atdcat.cmxa
+	-$(RM) META
+	-$(RM) atd.a atd.cma atd.cmxa atd_version.ml atdcat 
+	-$(RM) test.out test.out.out test2.out
+	-$(RM) *.annot
+
+.PHONY: distclean
+distclean: clean
 	rm -rf odoc
 	cd manual; $(MAKE) clean