/[cvs]/eggdrop1.7/doc/Makefile.in
ViewVC logotype

Annotation of /eggdrop1.7/doc/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (hide annotations) (download)
Sat Sep 10 21:02:27 2005 UTC (13 years, 9 months ago) by wcc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
* make install / language fixes.

1 wcc 1.1 # Makefile for doc/
2 wcc 1.5 # $Id: Makefile.in,v 1.4 2005/05/30 22:38:45 wcc Exp $
3 wcc 1.1
4     SHELL = @SHELL@
5     top_srcdir = @top_srcdir@
6     srcdir = @srcdir@
7     VPATH = @srcdir@
8    
9     @SET_MAKE@
10     INSTALL = @INSTALL@
11     INSTALL_PROGRAM = @INSTALL_PROGRAM@
12     INSTALL_DATA = @INSTALL_DATA@
13     INSTALL_SCRIPT = @INSTALL_SCRIPT@
14    
15 wcc 1.5 DOCS = ABOUT AUTHORS BANS BOTNET BUG-REPORT COMPILE-GUIDE \
16 wcc 1.4 FIRST-SCRIPT KNOWN-PROBLEMS PARTYLINE PATCH-HOWTO TCL-COMMANDS \
17 wcc 1.2 TEXT-SUBSTITUTIONS TRICKS UPDATES1.7 USERS
18 wcc 1.1
19     MAN1 = man1/eggdrop.1
20    
21     WEB_DOCS = $(srcdir)/html/*.html
22 wcc 1.4 MODULES_DOCS = MODULES
23 wcc 1.5 SETTING_DOCS = core.settings
24 wcc 1.1 SETTING_MOD_DOCS = $(srcdir)/settings/mod.*
25    
26     doofus:
27     @echo ""
28     @echo "Let's try this from the right directory..."
29     @echo ""
30     @cd .. && $(MAKE)
31    
32     all: $(DOCS) $(MAN1)
33    
34     clean:
35     @rm -f *~
36    
37     install:
38     @if test ! -d $(DEST)/doc; then \
39     echo "Creating 'doc' subdirectory."; \
40     $(top_srcdir)/misc/mkinstalldirs $(DEST)/doc >/dev/null; \
41     fi
42     @if test ! -d $(DEST)/doc/man1; then \
43     echo "Creating 'doc/man1' subdirectory."; \
44     $(top_srcdir)/misc/mkinstalldirs $(DEST)/doc/man1 >/dev/null; \
45     fi
46     @if test ! -d $(DEST)/doc/html; then \
47     echo "Creating 'doc/html' subdirectory."; \
48     $(top_srcdir)/misc/mkinstalldirs $(DEST)/doc/html >/dev/null; \
49     fi
50     @if test ! -d $(DEST)/doc/settings; then \
51     echo "Creating 'doc/settings' subdirectory."; \
52     $(top_srcdir)/misc/mkinstalldirs $(DEST)/doc/settings >/dev/null; \
53     fi
54 wcc 1.4 @if test ! -d $(DEST)/doc/modules; then \
55     echo "Creating 'doc/modules' subdirectory."; \
56     $(top_srcdir)/misc/mkinstalldirs $(DEST)/doc/modules >/dev/null; \
57     fi
58 wcc 1.1 @echo "Copying docs."
59     @for i in $(DOCS); do \
60     $(INSTALL_DATA) $(srcdir)/$$i $(DEST)/doc/; \
61     done
62     @for i in $(MAN1); do \
63     $(INSTALL_DATA) $(srcdir)/$$i $(DEST)/doc/man1/; \
64     done
65     @for i in $(SETTING_DOCS); do \
66     $(INSTALL_DATA) $(srcdir)/settings/$$i $(DEST)/doc/settings/; \
67     done
68 wcc 1.4 @for i in $(MODULES_DOCS); do \
69     $(INSTALL_DATA) $(srcdir)/modules/$$i $(DEST)/doc/modules/; \
70     done
71 wcc 1.1 @if test "x`echo $(SETTING_MOD_DOCS)`" != "x$(SETTING_MOD_DOCS)"; then \
72     for i in `echo $(SETTING_MOD_DOCS)`; do \
73     $(INSTALL_DATA) $$i $(DEST)/doc/settings/; \
74     done; \
75     fi
76     @if test "x`echo $(WEB_DOCS)`" != "x$(WEB_DOCS)"; then \
77     for i in `echo $(WEB_DOCS)`; do \
78     $(INSTALL_DATA) $$i $(DEST)/doc/html/; \
79     done; \
80     fi

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23