[Pkg-wmaker-commits] [wmacpi] 65/105: update debian/rules to use upstream make install; move manpages to correct location; rename acpi to acpi-ng

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmacpi.

commit edc0f80a71568c9014dfcab19462f3dac1aaa438
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Jul 20 00:15:31 2014 -0500

    update debian/rules to use upstream make install; move manpages to correct location; rename acpi to acpi-ng
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1b40f91..9828c5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,7 @@ override_dh_auto_clean:
 	make clean-all
 
 override_dh_auto_install:
-	install -d $(CURDIR)/debian/wmacpi/usr/bin/
-	install -pc wmacpi acpi $(CURDIR)/debian/wmacpi/usr/bin/
+	make install PREFIX=$(CURDIR)/debian/wmacpi/usr
+	mv $(CURDIR)/debian/wmacpi/usr/bin/acpi $(CURDIR)/debian/wmacpi/usr/bin/acpi-ng
+	mv $(CURDIR)/debian/wmacpi/usr/man/man1/acpi.1 $(CURDIR)/debian/wmacpi/usr/share/man/man1/acpi-ng.1
+	mv $(CURDIR)/debian/wmacpi/usr/man/man1/wmacpi.1 $(CURDIR)/debian/wmacpi/usr/share/man/man1/wmacpi.1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmacpi.git



More information about the Pkg-wmaker-commits mailing list