~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to simpleinit/Makefile.am

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include $(top_srcdir)/config/include-Makefile.am
2
 
 
3
 
sbin_PROGRAMS = simpleinit shutdown initctl
4
 
dist_man_MANS = fastboot.8 fasthalt.8 halt.8 reboot.8 simpleinit.8 shutdown.8 \
5
 
        initctl.8
6
 
 
7
 
simpleinit_SOURCES = simpleinit.c simpleinit.h
8
 
initctl_SOURCES = initctl.c simpleinit.h
9
 
 
10
 
if NEED_LIBCRYPT
11
 
simpleinit_LDADD = -lcrypt
12
 
endif
13
 
 
14
 
install-exec-hook::
15
 
        cd $(DESTDIR)$(sbindir) && ln -sf shutdown reboot
16
 
        cd $(DESTDIR)$(sbindir) && ln -sf shutdown fastboot
17
 
        cd $(DESTDIR)$(sbindir) && ln -sf shutdown halt
18
 
        cd $(DESTDIR)$(sbindir) && ln -sf shutdown fasthalt
19
 
        cd $(DESTDIR)$(sbindir) && ln -sf initctl need
20
 
        cd $(DESTDIR)$(sbindir) && ln -sf initctl display-services
21
 
        cd $(DESTDIR)$(sbindir) && ln -sf initctl provide
22
 
 
23
 
install-data-hook:
24
 
        cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 need.8
25
 
        cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 display-services.8
26
 
        cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 provide.8
27