[Pkg-ocaml-maint-commits] r2878 - in
/trunk/packages/edos-debcheck/trunk/debian: changelog
patches/01Makefile.dpatch
treinen at users.alioth.debian.org
treinen at users.alioth.debian.org
Thu Jul 6 12:18:37 UTC 2006
Author: treinen
Date: Thu Jul 6 12:18:35 2006
New Revision: 2878
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=2878
Log:
debcheck version 1.0-1
This line, and those below, will be ignored--
M trunk/debian/patches/01Makefile.dpatch
M trunk/debian/changelog
Modified:
trunk/packages/edos-debcheck/trunk/debian/changelog
trunk/packages/edos-debcheck/trunk/debian/patches/01Makefile.dpatch
Modified: trunk/packages/edos-debcheck/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/edos-debcheck/trunk/debian/changelog?rev=2878&op=diff
==============================================================================
--- trunk/packages/edos-debcheck/trunk/debian/changelog (original)
+++ trunk/packages/edos-debcheck/trunk/debian/changelog Thu Jul 6 12:18:35 2006
@@ -1,3 +1,10 @@
+edos-debcheck (1.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Adapt patch 01Makefile to new upstream version.
+
+ -- Ralf Treinen <treinen at debian.org> Wed, 5 Jul 2006 18:35:27 +0200
+
edos-debcheck (0.0.2006.03.19-2) unstable; urgency=low
* Improved short and long description (closes: Bug#375209, Bug#375287)
Modified: trunk/packages/edos-debcheck/trunk/debian/patches/01Makefile.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/edos-debcheck/trunk/debian/patches/01Makefile.dpatch?rev=2878&op=diff
==============================================================================
--- trunk/packages/edos-debcheck/trunk/debian/patches/01Makefile.dpatch (original)
+++ trunk/packages/edos-debcheck/trunk/debian/patches/01Makefile.dpatch Thu Jul 6 12:18:35 2006
@@ -2,53 +2,41 @@
## 01Makefile.dpatch by Ralf Treinen <treinen at debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: Add target fro byte code compilation
@DPATCH@
diff -urNad trunk~/Makefile trunk/Makefile
---- trunk~/Makefile 2006-05-20 08:51:20.000000000 +0200
-+++ trunk/Makefile 2006-07-02 23:11:04.000000000 +0200
-@@ -5,27 +5,33 @@
+--- trunk~/Makefile 2006-07-02 18:41:29.000000000 +0200
++++ trunk/Makefile 2006-07-05 18:32:53.000000000 +0200
+@@ -5,9 +5,13 @@
OBJS = util.cmx common.cmx solver.cmx
OPTLINKFLAGS=unix.cmxa str.cmxa
+BYTEOBJS=${OBJS:%.cmx=%.cmo}
+BYTELINKFLAGS=${OPTLINKFLAGS:%.cmxa=%.cma}
--all: debcheck rpmcheck checkupdate checkconflicts
-+all: debcheck rpmcheck
+ all: debcheck rpmcheck
+
+byte: debcheck.byte rpmcheck.byte
-
++
rpmcheck: $(OBJS) rpm.cmx
$(OCAMLOPT) -o $@ $(OPTLINKFLAGS) $^ $(LINKFLAGS)
- debcheck: $(OBJS) deb.cmx
- $(OCAMLOPT) -o $@ $(OPTLINKFLAGS) $^ $(LINKFLAGS)
--# ocamlopt -o check unix.cmxa str.cmxa check.ml
+@@ -17,6 +21,13 @@
--checkupdate: $(OBJS) update_check.ml
-- $(OCAMLOPT) -o $@ $(OPTLINKFLAGS) $^ $(LINKFLAGS)
+ #####
+
+rpmcheck.byte: $(BYTEOBJS) rpm.cmo
+ $(OCAMLC) -o $@ $(BYTELINKFLAGS) $^ $(LINKFLAGS)
+
+debcheck.byte: $(BYTEOBJS) deb.cmo
+ $(OCAMLC) -o $@ $(BYTELINKFLAGS) $^ $(LINKFLAGS)
-
--checkconflicts: $(OBJS) check_conflicts.ml
-- $(OCAMLOPT) -o $@ $(OPTLINKFLAGS) $^ $(LINKFLAGS)
-
- #####
-
++
++
clean::
find . -regex ".*\\.\(cm[oix]\|o\)" | xargs rm -f
-+distclean: clean
-+ -rm debcheck rpmcheck
-+
- .SUFFIXES: .cmo .cmi .cmx .ml .mli .mly .mll .idl .o .c
-
- .ml.cmx:
-@@ -57,4 +63,4 @@
+@@ -51,4 +62,4 @@
$(OCAMLDEP) $(DEPFLAGS) $$i \
> .depend
More information about the Pkg-ocaml-maint-commits
mailing list