/[svn]/ircd-hybrid-7.2/etc/Makefile.in
ViewVC logotype

Contents of /ircd-hybrid-7.2/etc/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 34 - (show annotations)
Sun Oct 2 21:05:51 2005 UTC (14 years, 3 months ago) by lusky
File size: 1392 byte(s)
create 7.2 branch, we can move/rename it as needed.


1 # $Id$
2
3 INSTALL = @INSTALL@
4 INSTALL_DATA = @INSTALL_DATA@
5 MV = @MV@
6 RM = @RM@
7 TEST = @TEST@
8
9 # no whitespace here, test will mess up
10 CLOBBER=@CLOBBER@
11
12 prefix = $(DESTDIR)@prefix@
13 sysconfdir = $(DESTDIR)@sysconfdir@
14 exec_prefix = $(DESTDIR)@exec_prefix@
15
16 DISTFILES = @EXAMPLE_CONF@
17
18 all:
19
20 install:
21 -@if $(TEST) $(sysconfdir) -ef `pwd`; then exit; fi; \
22 mkdir -p $(sysconfdir); \
23 for i in $(DISTFILES); do \
24 if test -f $(sysconfdir)/$$i -a -z "$(CLOBBER)"; then \
25 echo $(MV) $(sysconfdir)/$$i $(sysconfdir)/$$i.old; \
26 $(MV) $(sysconfdir)/$$i $(sysconfdir)/$$i.old; \
27 fi; \
28 echo $(INSTALL_DATA) $$i $(sysconfdir); \
29 $(INSTALL_DATA) $$i $(sysconfdir); \
30 done
31
32 @echo "Note: more example configuration files can be found in this directory (etc/)."
33
34 @if test ! -f "$(sysconfdir)/ircd.motd"; then \
35 echo "Creating generic $(sysconfdir)/ircd.motd"; \
36 echo "This is ircd-hybrid MOTD replace it with something better" > $(sysconfdir)/ircd.motd; \
37 fi
38
39 @for i in d k x rx rk; do \
40 if test ! -f "$(sysconfdir)/$${i}line.conf"; then \
41 echo touch $(sysconfdir)/$${i}line.conf; \
42 touch $(sysconfdir)/$${i}line.conf; \
43 fi; \
44 done
45
46 @for i in n c; do \
47 if test ! -f "$(sysconfdir)/$${i}resv.conf"; then \
48 echo touch $(sysconfdir)/$${i}resv.conf; \
49 touch $(sysconfdir)/$${i}resv.conf; \
50 fi; \
51 done
52
53 distclean:
54 ${RM} -f Makefile
55
56 .PHONY: install distclean

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26