ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/doc/Makefile.in
Revision: 1.7
Committed: Sat Sep 22 14:27:25 2007 UTC (16 years, 8 months 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

# Content
1 # Makefile.in: This file contains build instructions.
2 #
3 # Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
4 # Rights to this code are as documented in COPYING.
5 #
6 # $Id: Makefile.in,v 1.6 2007-09-16 18:54:41 pippijn Exp $
7 #
8
9 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 build: html rss ermyth.pdf
20 ${CP} home.css html/
21 ${CP} lib/pdf.gif html/
22
23 rss: gennews html podmisc/news.pod
24 ${PERL} gennews
25
26 html: gendocs help lib/PodHTML.pm lib/PodHTML2.pm lib/html.tt lib/sidemenu.tt variables.yml
27 ${PERL} gendocs
28
29 help: genhelp lib/PodHelp.pm lib/PodHTML.pm lib/html.tt lib/sidemenu.tt variables.yml
30 ${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 ${RM} -f ermyth.aux ermyth.idx ermyth.ilg ermyth.ind ermyth.log ermyth.pdf ermyth.toc ermyth.out news.xml
57
58 distclean:
59 ${RM} -f Makefile .depend
60
61 maintainer-clean: distclean
62
63 depend:
64
65 upload: build
66 rsync news.xml ruth:ermyth.xinutec.org/
67 rsync -r html/* ruth:ermyth.xinutec.org/
68 rsync ermyth.pdf ruth:ermyth.xinutec.org/