chiark / gitweb /
wip make it compile
[inn-innduct.git] / samples / Makefile
1 ##  $Id: Makefile 6299 2003-04-20 19:04:14Z vinocur $
2 ##
3 ##  All the actual installation work of any files in the samples directory
4 ##  is done via the site directory, so that one can maintain one's news
5 ##  configuration in the site directory and use make commands to update the
6 ##  server automatically.  All this Makefile does is run fixscript on a few
7 ##  files that don't need the full power of configure (and clean up after
8 ##  them on make clean).
9
10 include ../Makefile.global
11
12 top           = ..
13
14 ALL           = nnrpd_auth.pl nnrpd_access.pl \
15                 nnrpd_auth_wrapper.pl nnrpd_access_wrapper.pl
16
17 EXTRA         = inn.conf innreport.conf newsfeeds sasl.conf
18
19 all: $(ALL) $(EXTRA)
20
21 clean:
22         rm -f $(ALL)
23
24 clobber distclean: clean
25         rm -f $(EXTRA)
26
27 install:
28 depend:
29
30 profiled: all
31
32 $(EXTRA) $(FIXSCRIPT):
33         @echo Run configure before running make.  See INSTALL for details.
34         @exit 1
35
36
37 ##  Build rules.
38
39 FIX             = $(FIXSCRIPT)
40
41 nnrpd_auth.pl:                  nnrpd_auth.pl.in           $(FIX) ; $(FIX) $@.in
42 nnrpd_access.pl:                nnrpd_access.pl.in         $(FIX) ; $(FIX) $@.in
43 nnrpd_auth_wrapper.pl:          nnrpd_auth_wrapper.pl.in   $(FIX) ; $(FIX) $@.in
44 nnrpd_access_wrapper.pl:        nnrpd_access_wrapper.pl.in $(FIX) ; $(FIX) $@.in