Code

Fix for POD error by Sebasian Harl
[rrdtool-all.git] / program / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 RSYNC = rsync --rsh=ssh
4 # build the following subdirectories
5 if BUILD_LIBINTL
6 PO=po
7 else
8 PO=
9 endif
11 SUBDIRS = $(PO) src examples doc bindings
13  # the following files are not mentioned in any other Makefile
14 EXTRA_DIST = COPYRIGHT CHANGES WIN32-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
15              intltool-extract.in  intltool-merge.in    intltool-update.in \
16              rrdtool.spec favicon.ico  win32/Makefile win32/config.h \
17              win32/rrd.dsp win32/rrd.sln win32/rrd.vcproj \
18              win32/rrd_config.h.msvc win32/rrdlib.vcproj win32/rrdtool.dsp \
19              win32/rrdtool.dsw win32/rrdtool.vcproj netware/Makefile  \
20              etc/rrdcached-default etc/rrdcached-init
22              
24 CLEANFILES = config.cache
26 # use relaxed rules when building dists
27 AUTOMAKE_OPTIONS= foreign 
29 # where we keep local rules for automake
31 ACLOCAL_M4= $(top_srcdir)/aclocal.m4
32 #AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config
33 #AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config
35 to-docs: to-versync
36         (cd doc && $(MAKE) clean && $(MAKE) && $(MAKE) pdf)
38 to-dist: to-docs dist
39         mv $(PACKAGE)-$(VERSION).tar.gz archive
41 to-scp: to-dist
42         cp CHANGES  archive/$(PACKAGE)-$(VERSION).tar.gz /home/oetiker/public_html/webtools/rrdtool/pub/
43         (cd /home/oetiker/public_html/webtools/rrdtool/pub; rm $(PACKAGE).tar.gz; ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz)
45 #       $(RSYNC) CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz tobi@ipn.caida.org:/ipn/web/Tools/RRDtool/pub/
47 site-perl-inst: site-perl-install
49 site-perl-install: all bindings/perl-piped/Makefile bindings/perl-shared/Makefile
50         cd bindings/perl-piped && $(MAKE) install
51         cd bindings/perl-shared && $(MAKE) install
53 site-tcl-install: all
54         cd bindings/tcl && $(MAKE) tcl-install
56 site-python-install: all
57         cd bindings/python && $(PYTHON) setup.py install
59 # find . -name "*.c" -or -name "*.h" | xargs perl -0777 -n -e 'while (s/typedef\s+(?:unsigned\s+|signed\s+|unival\s+)?\S+\s+\*?([^{}\s;(]+)//){print "-T$1\n"}'
60 indent:
61         find ./ -name "*.[ch]" | xargs indent
63 ##END##