chiark / gitweb /
@@ -1,6 +1,7 @@
[chiark-utils.git] / scripts / Makefile
1 # Makefile
2
3 # This file is part of chiark-utils, a collection of useful programs
4 # used on chiark.greenend.org.uk.
5 #
6 # This file is:
7 #  Copyright (C) 2001 Ian Jackson <ian@chiark.greenend.org.uk>
8 #
9 # This is free software; you can redistribute it and/or modify it under the
10 # terms of the GNU General Public License as published by the Free Software
11 # Foundation; either version 2, or (at your option) any later version.
12 #
13 # This is distributed in the hope that it will be useful, but WITHOUT ANY
14 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
16 # details.
17 #
18 # You should have received a copy of the GNU General Public License along
19 # with this program; if not, write to the Free Software Foundation, Inc.,
20 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
22 include ../settings.make
23
24 SCRIPTS=        palm-datebook-reminders
25 MANPAGES1=      palm-datebook-reminders
26
27 CSCRIPTS=       named-conf
28 CMANPAGES8=     named-conf
29
30 all:
31
32 install:
33                 $(INSTALL_DIRECTORY) $(bindir)
34                 set -e; for f in $(SCRIPTS); do \
35                         $(INSTALL_SCRIPT) $$f $(bindir)/$$f; done
36                 set -e; for f in $(CSCRIPTS); do \
37                         $(INSTALL_SCRIPT) $$f $(bindir)/chiark-$$f; done
38
39 install-docs:
40                 $(INSTALL_DIRECTORY) $(man8dir)
41                 set -e; for f in $(MANPAGES1); do \
42                         $(INSTALL_SCRIPT) $$f.1 $(man1dir)/$$f.1; done
43                 set -e; for f in $(CMANPAGES8); do \
44                         $(INSTALL_SCRIPT) $$f.8 $(man8dir)/chiark-$$f.8; done
45
46 install-examples:
47
48 clean:
49                 rm -f *~ ./#*#
50
51 distclean realclean:    clean