ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/doc/Makefile.in
Revision: 1.6
Committed: Sun Sep 16 18:54:41 2007 UTC (16 years, 8 months ago) by pippijn
Branch: MAIN
Changes since 1.5: +2 -2 lines
Log Message:
#defines to enum

File Contents

# User Rev Content
1 pippijn 1.4 # Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
2 pippijn 1.6 # Rights to this code are documented in COPYING.
3 pippijn 1.4 #
4     # This file contains build instructions.
5     #
6 pippijn 1.6 # $Id: Makefile.in,v 1.5 2007-08-28 17:08:06 pippijn Exp $
7 pippijn 1.4 #
8 pippijn 1.3
9 pippijn 1.1 PERL = @PERL@
10     RM = @RM@
11     CP = @CP@
12     INSTALL = @INSTALL@
13     DESTDIR = @prefix@
14     SHAREDIR = @SHAREDIR@
15     DOCDIR = @DOCDIR@
16    
17     SUBDIRS = chanserv gameserv global memoserv nickserv operserv saslserv userserv
18    
19 pippijn 1.5 build: html rss ermyth.pdf
20 pippijn 1.1 ${CP} home.css html/
21 pippijn 1.5 ${CP} lib/pdf.gif html/
22    
23     rss: gennews html podmisc/news.pod
24     ${PERL} gennews
25 pippijn 1.1
26 pippijn 1.3 html: gendocs help lib/PodHTML.pm lib/PodHTML2.pm lib/html.tt lib/sidemenu.tt variables.yml
27 pippijn 1.1 ${PERL} gendocs
28    
29 pippijn 1.2 help: genhelp lib/PodHelp.pm lib/PodHTML.pm lib/html.tt lib/sidemenu.tt variables.yml
30 pippijn 1.1 ${PERL} genhelp
31    
32     ermyth.pdf: genpdf ermyth.tex lib/LaTeX.pm
33     ${PERL} genpdf
34     texi2pdf -q ermyth.tex
35    
36     install: build
37     $(INSTALL) -m 755 -d $(DESTDIR)$(SHAREDIR)/help
38     cd help; for i in ${SUBDIRS}; do \
39     [ -f $$i ] && $(INSTALL) -m 644 $$i $(DESTDIR)$(SHAREDIR)/help; \
40     if [ -d $$i ]; then \
41     cd $$i; \
42     $(INSTALL) -m 755 -d $(DESTDIR)$(SHAREDIR)/help/$$i; \
43     for j in *; do \
44     [ -f $$j ] && $(INSTALL) -m 644 $$j $(DESTDIR)$(SHAREDIR)/help/$$i; \
45     done; \
46     cd ..; \
47     fi; \
48     done
49     $(INSTALL) -m 755 -d $(DESTDIR)$(DOCDIR)
50     for i in man/*; \
51     do $(INSTALL) -m 644 $$i $(DESTDIR)$(DOCDIR); \
52     done
53    
54     clean:
55     ${RM} -rf help html latex man template ttdoc tthelp ttsvs
56 pippijn 1.5 ${RM} -f ermyth.aux ermyth.idx ermyth.ilg ermyth.ind ermyth.log ermyth.pdf ermyth.toc ermyth.out news.xml
57 pippijn 1.1
58 pippijn 1.2 distclean:
59 pippijn 1.3 ${RM} -f Makefile .depend
60 pippijn 1.2
61     maintainer-clean: distclean
62    
63 pippijn 1.1 depend:
64    
65     upload: build
66 pippijn 1.5 rsync news.xml ruth:ermyth.schmorp.de/
67 pippijn 1.1 rsync -r html/* ruth:ermyth.schmorp.de/
68     rsync ermyth.pdf ruth:ermyth.schmorp.de/