ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/ermyth/doc/Makefile.in
Revision: 1.7
Committed: Sat Sep 22 14:27:25 2007 UTC (19 years ago) by pippijn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +7 -7 lines
Log Message:
split up ermyth into ermyth-modules, libermyth (currently just ermyth-util) and ermyth-core

File Contents

# User Rev Content
1 pippijn 1.7 # Makefile.in: This file contains build instructions.
2     #
3 pippijn 1.4 # Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
4 pippijn 1.7 # Rights to this code are as documented in COPYING.
5 pippijn 1.4 #
6 pippijn 1.7 # $Id: Makefile.in,v 1.6 2007-09-16 18:54:41 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.7 rsync news.xml ruth:ermyth.xinutec.org/
67     rsync -r html/* ruth:ermyth.xinutec.org/
68     rsync ermyth.pdf ruth:ermyth.xinutec.org/