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

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

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


Revision 1.4 - (show annotations) (download)
Mon May 30 22:38:45 2005 UTC (13 years, 11 months ago) by wcc
Branch: MAIN
Changes since 1.3: +10 -2 lines
* 'make install' fixes. Found by BarkerJr.

1 # Makefile for doc/
2 # $Id: Makefile.in,v 1.3 2004/09/02 20:27:00 wcc Exp $
3
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 DOCS = ABOUT AUTHORS BANS BOTNET BUG-REPORT COMPILE-GUIDE CONTENTS \
16 FIRST-SCRIPT KNOWN-PROBLEMS PARTYLINE PATCH-HOWTO TCL-COMMANDS \
17 TEXT-SUBSTITUTIONS TRICKS UPDATES1.7 USERS
18
19 MAN1 = man1/eggdrop.1
20
21 WEB_DOCS = $(srcdir)/html/*.html
22 MODULES_DOCS = MODULES
23 SETTING_DOCS = core.settings CONTENTS
24 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 @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 @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 @for i in $(MODULES_DOCS); do \
69 $(INSTALL_DATA) $(srcdir)/modules/$$i $(DEST)/doc/modules/; \
70 done
71 @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