diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..23cd544
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+_build
+.merlin
+*.install
+bench/*.dat
+TODO
+*.tar.gz
+*.svg
diff --git a/Makefile b/Makefile
index 7fa8174..4c0d4d3 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ install uninstall:
 
 doc:
 	dune build @doc
-	sed -e "s/0.6.2/$(PKGVERSION)/" --in-place \
+	sed -e "s/%%VERSION%%/$(PKGVERSION)/" --in-place \
 	  _build/default/_doc/_html/rope/Rope/index.html
 
 # Benchmarks
diff --git a/README.md b/README.md
index ee425cc..867c0be 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ efficient operation that involve the string as a whole such as
 concatenation and substring. This library implements ropes for OCaml
 (it is rich enough to replace strings).
 
-Version 0.6.2
+Version %%VERSION%%
 
 Installation
 ------------
diff --git a/debian/changelog b/debian/changelog
index 2ca8eaf..b241728 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ocaml-rope (0.6.2+git20190913.1.7d457b2-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 08 Sep 2022 23:43:29 -0000
+
 ocaml-rope (0.6.2-3) unstable; urgency=medium
 
   * Team upload
diff --git a/rope.opam b/rope.opam
index d40a709..4549528 100644
--- a/rope.opam
+++ b/rope.opam
@@ -1,4 +1,3 @@
-version: "0.6.2"
 opam-version: "2.0"
 maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
 authors: [ "Christophe Troestler" ]
@@ -16,7 +15,7 @@ build: [
 depends: [
   "ocaml" {>= "4.03.0"}
   "base-bytes"
-  "dune" {build}
+  "dune"
   "benchmark" {with-test}
 ]
 synopsis: "Ropes (heavyweight strings)"
@@ -27,4 +26,4 @@ whole.  Operations such as concatenation, and substring take time that
 is nearly independent of the length of the string.  Unlike strings,
 ropes are a reasonable representation for very long strings such as
 edit buffers or mail messages.
-"""
\ No newline at end of file
+"""
diff --git a/src/rope.mli b/src/rope.mli
index bc64bec..8e67ffa 100644
--- a/src/rope.mli
+++ b/src/rope.mli
@@ -49,7 +49,7 @@
     To use this library in the toploop (REPL), issue
     [#require "rope.top";;].
 
-    @version 0.6.2
+    @version %%VERSION%%
     @author Christophe Troestler
 *)