[Pkg-ocaml-maint-commits] r4958 - in /trunk/packages/cryptgps/trunk/debian: changelog expand_stars.sh rules

zack at users.alioth.debian.org zack at users.alioth.debian.org
Fri Dec 28 19:18:03 UTC 2007


Author: zack
Date: Fri Dec 28 19:18:03 2007
New Revision: 4958

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=4958
Log:
* move to debian/expand_stars.sh the ocamldoc filter to expand upstream
  comments to ocamldoc(-like) comments, to avoid make quotation issues

Added:
    trunk/packages/cryptgps/trunk/debian/expand_stars.sh
Modified:
    trunk/packages/cryptgps/trunk/debian/changelog
    trunk/packages/cryptgps/trunk/debian/rules

Modified: trunk/packages/cryptgps/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/cryptgps/trunk/debian/changelog?rev=4958&op=diff
==============================================================================
--- trunk/packages/cryptgps/trunk/debian/changelog (original)
+++ trunk/packages/cryptgps/trunk/debian/changelog Fri Dec 28 19:18:03 2007
@@ -3,8 +3,10 @@
   * promote Homepage to a real debian/control field
   * update standards-version, no changes needed
   * setting me as an uploader, d-o-m as the maintainer
+  * move to debian/expand_stars.sh the ocamldoc filter to expand upstream
+    comments to ocamldoc(-like) comments, to avoid make quotation issues
 
- -- Stefano Zacchiroli <zack at debian.org>  Fri, 28 Dec 2007 19:39:48 +0100
+ -- Stefano Zacchiroli <zack at debian.org>  Fri, 28 Dec 2007 20:16:34 +0100
 
 cryptgps (0.2.1-3) unstable; urgency=low
 

Added: trunk/packages/cryptgps/trunk/debian/expand_stars.sh
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/cryptgps/trunk/debian/expand_stars.sh?rev=4958&op=file
==============================================================================
--- trunk/packages/cryptgps/trunk/debian/expand_stars.sh (added)
+++ trunk/packages/cryptgps/trunk/debian/expand_stars.sh Fri Dec 28 19:18:03 2007
@@ -1,0 +1,3 @@
+#!/bin/bash
+# expand '(*' to '(**'
+sed 's/^\( *\)(\*\( [^\$=]\)/\1(**\2/' "$@"

Modified: trunk/packages/cryptgps/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/cryptgps/trunk/debian/rules?rev=4958&op=diff
==============================================================================
--- trunk/packages/cryptgps/trunk/debian/rules (original)
+++ trunk/packages/cryptgps/trunk/debian/rules Fri Dec 28 19:18:03 2007
@@ -7,7 +7,7 @@
 PKGNAME = libcryptgps-ocaml-dev
 DESTDIR := $(CURDIR)/debian/$(PKGNAME)$(OCAML_STDLIB_DIR)
 OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES)
-OCAML_OCAMLDOC_FLAGS += -pp "sed 's/^\( *\)(\*\( [^\$$=]\)/\1(**\2/'"	# expand '(*' to '(**'
+OCAML_OCAMLDOC_FLAGS += -pp $(CURDIR)/debian/expand_stars.sh
 DEB_MAKE_BUILD_TARGET = all
 ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
 	DEB_MAKE_BUILD_TARGET += opt
@@ -16,4 +16,5 @@
 DEB_MAKE_INSTALL_TARGET = install OCAMLFIND_DESTDIR=$(DESTDIR)
 build/$(PKGNAME)::
 	mkdir -p $(DESTDIR)
+	chmod +x $(CURDIR)/debian/expand_stars.sh
 




More information about the Pkg-ocaml-maint-commits mailing list