[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, master, updated. debian/3.10.2-3-8-g4a1bcf4
Stephane Glondu
steph at glondu.net
Sat Jul 19 23:29:47 UTC 2008
The following commit has been merged in the master branch:
commit 4a1bcf4134c9e507170c0cd93342a4dc2852fccc
Author: Stephane Glondu <steph at glondu.net>
Date: Sun Jul 20 01:01:46 2008 +0200
Restore emacs/ocamltags.in in clean
diff --git a/debian/rules b/debian/rules
index bb60df8..9417872 100755
--- a/debian/rules
+++ b/debian/rules
@@ -141,11 +141,15 @@ clean: abi-sed unpatch
$(MAKE) -C debian/ocaml-md5sums clean
$(MAKE) -C debian/dh-ocaml clean
$(MAKE) -C debian/policy clean
+ # Restore files altered by debian/rules
for ext in sub guess; do \
if [ -f debian/config.orig.$$ext ] ; then \
mv -f debian/config.orig.$$ext config/gnu/config.$$ext; \
fi; \
done
+ if head -n 1 emacs/ocamltags.in | grep -q '^#!/bin/sh'; then \
+ sed -i 1d emacs/ocamltags.in; \
+ fi
# Files not cleaned by upstream (most of them are cleaned
# using debian/clean feature of dh_clean in debhelper 7)
-$(RM) ocaml-$(OCAMLABI)
--
OCaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list