get the docs ready for the 1.2 release. remove notes about things that never got...
[rrdtool.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 RSYNC = rsync --rsh=ssh
3
4 # build the following subdirectories
5 SUBDIRS = src bindings doc examples
6
7   # the following files are not mentioned in any other Makefile
8 EXTRA_DIST = COPYRIGHT CHANGES NT-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
9              rrdtool.spec
10
11 CLEANFILES = config.cache
12
13 # use relaxed rules when building dists
14 AUTOMAKE_OPTIONS= foreign 
15
16 # where we keep local rules for automake
17
18 ACLOCAL_M4= $(top_srcdir)/aclocal.m4
19 #AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config
20 #AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config
21
22 to-docs: to-versync
23         (cd doc && $(MAKE) clean && $(MAKE) && $(MAKE) pdf)
24         (cd website && wmk-1.7.4 -f manual tutorial contributors.wml && ./site-sync )
25
26 to-dist: to-docs dist
27         mv $(PACKAGE)-$(VERSION).tar.gz archive
28
29 to-scp: to-dist
30         cp CHANGES  archive/$(PACKAGE)-$(VERSION).tar.gz /home/oetiker/public_html/webtools/rrdtool/pub/
31         (cd /home/oetiker/public_html/webtools/rrdtool/pub; rm $(PACKAGE).tar.gz; ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz)
32
33 #       $(RSYNC) CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz tobi@ipn.caida.org:/ipn/web/Tools/RRDtool/pub/
34
35 site-perl-inst: site-perl-install
36
37 site-perl-install: all bindings/perl-piped/Makefile bindings/perl-shared/Makefile
38         cd bindings/perl-piped && $(MAKE) install
39         cd bindings/perl-shared && $(MAKE) install
40
41 site-tcl-install: all
42         cd bindings/tcl && $(MAKE) tcl-install
43
44 ##END##