~ubuntu-branches/debian/experimental/sysvinit/experimental

« back to all changes in this revision

Viewing changes to debian/src/initscripts/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Petter Reinholdtsen
  • Date: 2009-09-13 00:13:49 UTC
  • Revision ID: james.westby@ubuntu.com-20090913001349-c4hnvhp0titxdpw9
Tags: 2.87dsf-5
* Uploading to experimental, to test the new build rules.

* Make sysv-rc postinst report detected problems to stderr too when
  failing to migrate.
* Fix typo in error message from postinst (Closes: #545409).
* Make initscripts depend on sysvinit-utils (>= 2.86.ds1-64), to
  make sure the fstab-decode program is available (Closes: #545356).
* Make sure the calls to 'update-rc.d X remove' in initscripts
  postinst do not ignore errors (Closes: #406361).
* Make sysvinit depend on sysvinit-utils (>= 2.86.ds1-66) to avoid
  that bootlogd disappear during partial upgrades (Closes: #545368).
* Restructure source package to make it possible to use debhelper in
  the common way to build the source, by moving debian/initscripts/
  and debian/sysv-rc/ into debian/src/.  Restructure build rules to
  use debhelper more, and migrate to debhelper 7.
* New patch 98_installtarget.patch to improve the sysvinit install
  target.
* Remove /etc/init.d/.depend.* in prerm, not postrm, to avoid
  surprises.
* Remove /var/lib/update-rc.d/* when the package is purged.
* Change cut-off point for the trimmed changelog entries in
  sysvinit-utils, initscripts and sysv-rc from version 2.84-3 to
  version 2.86.ds1-47, to reduce the package sizes.
* Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12).  It is
  no longer needed according to Michael Bunk.  Patch from Michael
  Biebl.
* Remove information about scripts in /var/lib/update-rc.d/ when
  their runlevel symlinks are removed (Closes: #545949).  Remove
  such files left behind earlier during upgrade.
* Bootlogd now starts as late as possible (Closes: #265801)
* Drop the binary /lib/init/readlink from initscripts and depend on
  coreutils (>= 5.93) instead.  Adjust scripts to use the program
  from coreutils from now on (Closes: #239342).
* Make sure insserv exit values propagate through update-rc.d to make
  sure packages with errors fail to install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DESTDIR =
 
2
sysconfdir = /etc
 
3
prefix     = /usr
 
4
docdir     = $(prefix)/share/doc/initscripts
 
5
sbindir    = /sbin
 
6
 
 
7
INSTALL      = install -m755 -o root -g root
 
8
INSTALL_DATA = install -m644 -o root -g root
 
9
 
 
10
all:
 
11
 
 
12
install:
 
13
        $(INSTALL) -d $(DESTDIR)/lib/init/rw/.
 
14
        $(INSTALL) -d $(DESTDIR)/var/lib/initscripts/.
 
15
        $(INSTALL) -d $(DESTDIR)/var/lib/urandom/.
 
16
        $(INSTALL) -d $(DESTDIR)/var/log/fsck/.
 
17
        $(INSTALL) -d $(DESTDIR)$(docdir)/.
 
18
        $(INSTALL_DATA) doc/* $(DESTDIR)$(docdir)
 
19
        $(INSTALL) -d $(DESTDIR)/usr/share/initscripts
 
20
        cp -afv share/* $(DESTDIR)/usr/share/initscripts
 
21
        find $(DESTDIR)/usr/share/initscripts -type d -name .svn -print0 |xargs -r0 rm -r
 
22
 
 
23
        $(INSTALL) -d $(DESTDIR)$(sysconfdir)/.
 
24
        $(INSTALL) -d $(DESTDIR)$(sysconfdir)/default
 
25
        cp -afv etc/* $(DESTDIR)$(sysconfdir)
 
26
        find $(DESTDIR)$(sysconfdir) -type d -name .svn -print0 |xargs -r0 rm -r
 
27
 
 
28
        cp -afv lib/* $(DESTDIR)/lib
 
29
        find $(DESTDIR)/lib -type d -name .svn  -print0 |xargs -r0 rm -r
 
30
        chmod 755 $(DESTDIR)$(sysconfdir)/init.d/[a-z]*
 
31
        chmod 755 $(DESTDIR)$(sysconfdir)/network/if-up.d/[a-z]*
 
32
        chmod 644 $(DESTDIR)/lib/init/*.sh
 
33
        chmod 644 $(DESTDIR)$(sysconfdir)/init.d/skeleton
 
34
        chmod -R g-w $(DESTDIR)
 
35
        chown -R root:root $(DESTDIR)
 
36
 
 
37
        $(INSTALL) -d $(DESTDIR)$(sbindir)/.
 
38
        $(INSTALL) sbin/fsck.nfs $(DESTDIR)$(sbindir)/fsck.nfs
 
39
 
 
40
        $(INSTALL) -d $(DESTDIR)/usr/share/man/man8
 
41
        $(INSTALL_DATA) man/fsck.nfs.8 \
 
42
                $(DESTDIR)/usr/share/man/man8/fsck.nfs.8
 
43
 
 
44
        $(INSTALL) -d $(DESTDIR)/usr/share/man/man5
 
45
        $(INSTALL_DATA) man/*.5 $(DESTDIR)/usr/share/man/man5/.