1 ## Process this file with automake to produce Makefile.in
2 RSYNC = rsync --rsh=ssh
4 # build the following subdirectories
5 SUBDIRS = src bindings doc examples
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
12 CLEANFILES = config.cache
14 # use relaxed rules when building dists
15 AUTOMAKE_OPTIONS= foreign
17 # where we keep local rules for automake
19 ACLOCAL_M4= $(top_srcdir)/aclocal.m4
20 #AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config
21 #AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config
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 )
27 to-dist: to-docs dist
28 mv $(PACKAGE)-$(VERSION).tar.gz archive
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)
34 # $(RSYNC) CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz tobi@ipn.caida.org:/ipn/web/Tools/RRDtool/pub/
36 site-perl-inst: site-perl-install
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
42 site-tcl-install: all
43 cd bindings/tcl && $(MAKE) tcl-install
45 site-python-install: all
46 cd bindings/python && $(MAKE) python-install
48 ##END##