[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.1-39-g3ab8972

Darren Salt linux at youmustbejoking.demon.co.uk
Tue Oct 13 15:17:07 UTC 2009


The following commit has been merged in the master branch:
commit 3ab89721828e085bc6116bd1afe1a4e15833aca3
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date:   Tue Oct 13 15:59:26 2009 +0100

    Strip out comments from the config file; store a fully-commented version in .../examples/.

diff --git a/debian/changelog b/debian/changelog
index f2954f0..ab12787 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ eeepc-acpi-scripts (1.1.3) UNRELEASED; urgency=low
   * Bring the copyright file up to date.
   * Allow setting of whether the super hybrid engine control defaults to
     manual or auto.
+  * Strip out comments from /etc/default/eeepc-acpi-scripts and store a
+    fully-commented copy in /usr/share/doc/eeepc-acpi-scripts/examples/.
 
   [ Damyan Ivanov ]
   * rules: call dh_installinit with -u'start 20 S .' to prevent
diff --git a/debian/eeepc-acpi-scripts.default.doc-head b/debian/eeepc-acpi-scripts.default.doc-head
new file mode 100644
index 0000000..8c33fd3
--- /dev/null
+++ b/debian/eeepc-acpi-scripts.default.doc-head
@@ -0,0 +1,3 @@
+# Unpacked from
+# /usr/share/doc/eeepc-acpi-scripts/examples/eeepc-acpi-scripts.default.gz
+
diff --git a/debian/eeepc-acpi-scripts.default.etc-head b/debian/eeepc-acpi-scripts.default.etc-head
new file mode 100644
index 0000000..c2bd09d
--- /dev/null
+++ b/debian/eeepc-acpi-scripts.default.etc-head
@@ -0,0 +1,3 @@
+# For a description of the available settings, see
+# /usr/share/doc/eeepc-acpi-scripts/examples/eeepc-acpi-scripts.default.gz
+
diff --git a/debian/eeepc-acpi-scripts.default b/debian/eeepc-acpi-scripts.default.in
similarity index 100%
rename from debian/eeepc-acpi-scripts.default
rename to debian/eeepc-acpi-scripts.default.in
diff --git a/debian/rules b/debian/rules
index 77378ef..1d89d19 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,9 @@ binary-indep: build install
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs
+	mkdir -p debian/eeepc-acpi-scripts/usr/share/doc/eeepc-acpi-scripts/examples
+	cat debian/eeepc-acpi-scripts.default.doc-head debian/eeepc-acpi-scripts.default.in >debian/eeepc-acpi-scripts/usr/share/doc/eeepc-acpi-scripts/examples/eeepc-acpi-scripts.default
+	(cat debian/eeepc-acpi-scripts.default.etc-head; sed -e '/^# / d; /^$$/ d' debian/eeepc-acpi-scripts.default.in) >debian/eeepc-acpi-scripts/etc/default/eeepc-acpi-scripts
 	dh_installinit --no-start -u'start 20 S .'
 	dh_compress
 	dh_link

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list