the images should be written to the current directory ... -- Alex
[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 confignt/config.h favicon.ico
10              
11
12 CLEANFILES = config.cache
13
14 # use relaxed rules when building dists
15 AUTOMAKE_OPTIONS= foreign 
16
17 # where we keep local rules for automake
18
19 ACLOCAL_M4= $(top_srcdir)/aclocal.m4
20 #AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config
21 #AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config
22
23 to-docs: to-versync
24         (cd doc && $(MAKE) clean && $(MAKE) && $(MAKE) pdf)
25         (cd website && wmk-1.7.4 -f manual tutorial contributors.wml && ./site-sync )
26
27 to-dist: to-docs dist
28         mv $(PACKAGE)-$(VERSION).tar.gz archive
29
30 to-scp: to-dist
31         cp CHANGES  archive/$(PACKAGE)-$(VERSION).tar.gz /home/oetiker/public_html/webtools/rrdtool/pub/
32         (cd /home/oetiker/public_html/webtools/rrdtool/pub; rm $(PACKAGE).tar.gz; ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz)
33
34 #       $(RSYNC) CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz tobi@ipn.caida.org:/ipn/web/Tools/RRDtool/pub/
35
36 site-perl-inst: site-perl-install
37
38 site-perl-install: all bindings/perl-piped/Makefile bindings/perl-shared/Makefile
39         cd bindings/perl-piped && $(MAKE) install
40         cd bindings/perl-shared && $(MAKE) install
41
42 site-tcl-install: all
43         cd bindings/tcl && $(MAKE) tcl-install
44
45 site-python-install: all
46         cd bindings/python && $(MAKE) python-install
47
48 ##END##