chiark / gitweb /
3c803bd25a952951c000afa043862b779bafa39e
[userv-utils.git] / Makefile
1 # Makefile
2 # installation runes for userv-dyndns
3
4 # Copyright (C) 2003 Ian Jackson
5 #
6 # This is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with userv-utils; if not, see http://www.gnu.org/licenses/.
18
19 include ../settings.make
20
21 install:
22                 mkdir -p $(shareuserv)/dyndns $(varlibuserv)/dyndns/tmp
23                 cp service update $(shareuserv)/dyndns
24                 cp install-script $(shareuserv)/dyndns/install
25
26 install-examples:
27                 mkdir -p $(services)
28                 cp dyndns $(services)/dyndns.distrib
29                 cp dyndns-domains $(etcuserv)/dyndns-domains.example
30                 echo usdyndns >$(etcuserv)/dyndns-service-users.example
31
32 install-docs:
33                 mkdir -p $(docdir)/userv-dyndns
34                 cp INSTALL $(docdir)/userv-dyndns