[debian-edu-commits] debian-edu/ 25/64: * Add comment in Makefile explaining why the internal scripts are in /usr/lib/ and not /usr/share/.

Mike Gabriel sunweaver at debian.org
Wed Oct 23 09:51:52 UTC 2013


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

sunweaver pushed a commit to branch master
in repository shutdown-at-night.

commit 04a90848dcfa6e51e24ef0ece2745caa8d879d56
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sat Jun 14 22:59:28 2008 +0000

      * Add comment in Makefile explaining why the internal scripts are in
        /usr/lib/ and not /usr/share/.
    
    git-svn-id: svn+ssh://svn.debian.org/svn/debian-edu/trunk/src/shutdown-at-night@41487 6e500793-9bee-0310-a5b0-9d0909bd054d
---
 Makefile         |    6 +++++-
 debian/changelog |    2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 362fa79..afd7155 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
 DESTDIR   =
 prefix    = /usr
-pkglibdir = $(prefix)/lib/shutdown-at-night
 sbindir   = $(prefix)/sbin
 sysconfdir= /etc
 pkgsysconfdir= $(sysconfdir)/shutdown-at-night
 
+# Install scripts in lib/, to make it trivial to rewrite the internal tools
+# in any language, even compiled ones, without having to update the path used
+# by the callers.
+pkglibdir = $(prefix)/lib/shutdown-at-night
+
 INSTALL = install
 
 all:
diff --git a/debian/changelog b/debian/changelog
index e8af74d..0735e83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ shutdown-at-night (0.5) UNRELEASED; urgency=low
   * Make sure to not give the same wakeup time to all BIOSes, to avoid
     machines with good hardware clock to wake up at the same time and
     thus reduce the chance that a fuse breaks.
+  * Add comment in Makefile explaining why the internal scripts are in
+    /usr/lib/ and not /usr/share/.
 
  -- Petter Reinholdtsen <pere at debian.org>  Sun, 15 Jun 2008 00:51:43 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/shutdown-at-night.git



More information about the debian-edu-commits mailing list