]> git.pld-linux.org Git - packages/dhcpv6.git/blob - dhcpv6-Makefile.patch
- added Source1 - init script
[packages/dhcpv6.git] / dhcpv6-Makefile.patch
1 --- dhcp-0.10/Makefile.in.orig  2005-09-20 10:20:14.000000000 +0200
2 +++ dhcp-0.10/Makefile.in       2005-09-20 10:22:25.000000000 +0200
3 @@ -11,6 +11,7 @@
4  YACC=  @YACC@
5  LEX=   @LEX@
6  TARGET=        dhcp6c dhcp6s
7 +CONFIGFILES= dhcp6c.conf dhcp6s.conf server6_addr.conf
8  DESTDIR=
9  
10  INSTALL=@INSTALL@
11 @@ -97,13 +98,14 @@
12         $(INSTALL_DATA) dhcp6s.8 $(DESTDIR)$(mandir)/man8/
13         $(INSTALL_DATA) dhcp6c.conf.5 $(DESTDIR)$(mandir)/man5/
14         $(INSTALL_DATA) dhcp6s.conf.5 $(DESTDIR)$(mandir)/man5/
15 -
16 -rh_install:: install
17 -       $(INSTALL) -d $(initdir)
18 -       $(INSTALL_PROGRAM) dhcp6s.sh $(initdir)/dhcp6s
19 -       $(INSTALL_PROGRAM) dhcp6c.sh $(initdir)/dhcp6c
20 -       $(CHKCONFIG) --add dhcp6s
21 -       $(CHKCONFIG) --add dhcp6c
22 +       $(INSTALL) -d $(DESTDIR)$(sysconfigdir)
23 +       $(INSTALL) dhcp6c.sysconfig $(DESTDIR)$(sysconfigdir)/dhcp6c
24 +       $(INSTALL) dhcp6s.sysconfig $(DESTDIR)$(sysconfigdir)/dhcp6s
25 +       $(INSTALL) -d $(DESTDIR)$(etc)
26 +       $(INSTALL_PROGRAM) $(CONFIGFILES) $(DESTDIR)$(etc)
27 +       $(INSTALL) -d $(DESTDIR)$(initdir)
28 +       $(INSTALL_PROGRAM) dhcp6s.sh $(DESTDIR)$(initdir)/dhcp6s
29 +       $(INSTALL_PROGRAM) dhcp6c.sh $(DESTDIR)$(initdir)/dhcp6c
30  
31  uninstall::
32         for progs in $(TARGET); do \
33 @@ -114,7 +116,6 @@
34         /bin/rm -f $(mandir)/man5/dhcp6c.conf.5
35         /bin/rm -f $(mandir)/man5/dhcp6s.conf.5
36  
37 -rh_uninstall:: uninstall
38         $(CHKCONFIG) --del dhcp6s
39         $(CHKCONFIG) --del dhcp6c
40         /bin/rm -f $(initdir)/dhcp6s
This page took 0.0741 seconds and 3 git commands to generate.