[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#734072: ocaml-doc: fix doc-base installation



Source: ocaml-doc
Version: 4.01-1
Severity: normal
Tags: patch

Hi,

due to the fact that the doc-base file is generated from a .in file,
dh_installdocs picks both the files, installing them with a wrong name:
  /usr/share/doc-base/ocaml-doc-ocaml
  /usr/share/doc-base/ocaml-doc-ocaml.in

Attached there is a small change to rules to exclude the .in files for
dh_installdocs; this also fixes the file name for doc-base, which now
is:
  /usr/share/doc-base/ocaml-doc

Thanks,
-- 
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,9 @@
 		sed "s/@VERSION@/$(DOC_VERSION)/g" debian/$${file}.in > debian/$${file}; \
 	done
 
+override_dh_installdocs:
+	dh_installdocs -X.in
+
 override_dh_compress:
 	dh_compress -X.pdf
 

Reply to: