X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=Makefile.am;h=9e1a22b9dfbd703c48464ef1383b8e0605af04a9;hp=5f3e09c2fb011ae5294d18f213e679f9f2d18908;hb=6c8d0d97fc82f3cc6d03a5f692fcac6e405a03d2;hpb=e3bb3647e3f73bf43268ad6d7a63676071d4b6bf diff --git a/Makefile.am b/Makefile.am index 5f3e09c..9e1a22b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,29 +1,35 @@ +# $Id$ + ## Process this file with automake to produce Makefile.in RSYNC = rsync --rsh=ssh # build the following subdirectories -SUBDIRS = libraries src bindings doc examples - # the following files are not mentioned in any other Makefile -EXTRA_DIST = COPYRIGHT CHANGES NT-BUILD-TIPS.txt TODO CONTRIBUTORS rrdtool.spec +SUBDIRS = po src examples doc bindings intl + + # the following files are not mentioned in any other Makefile +EXTRA_DIST = COPYRIGHT CHANGES WIN32-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \ + rrdtool.spec favicon.ico win32/Makefile win32/config.h autogen.sh \ + win32/rrd.dsp win32/rrd.sln win32/rrd.vcproj libtool \ + win32/rrd_config.h.msvc win32/rrdlib.vcproj win32/rrdtool.dsp \ + win32/rrdtool.dsw win32/rrdtool.vcproj netware/Makefile \ + etc/rrdcached-default etc/rrdcached-init + + CLEANFILES = config.cache # use relaxed rules when building dists -AUTOMAKE_OPTIONS= foreign no-dependencies +AUTOMAKE_OPTIONS= foreign # where we keep local rules for automake -ACLOCAL_M4= $(top_srcdir)/config/aclocal.m4 -AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config -AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config +ACLOCAL_AMFLAGS=-I m4 +ACLOCAL_M4= $(top_srcdir)/aclocal.m4 +#AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config +#AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config to-docs: to-versync (cd doc && $(MAKE) clean && $(MAKE) && $(MAKE) pdf) - (cd website && wmk-1.7.4 -f manual tutorial contributors.wml && ./site-sync ) - -to-versync: - perl -i -p -e '"$(VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/; $$v=sprintf("%1d.%02d0%02d1" ,$${1},$${2},$${3}); s|VERSION\s*=\s*[\d.]+|VERSION = $$v|' perl-*/RRD?.pm - perl -i -p -e 's|RRDtool\s+\d+\.\d+\.\d+ |RRDtool $(VERSION) |' src/*.[ch] to-dist: to-docs dist mv $(PACKAGE)-$(VERSION).tar.gz archive @@ -36,11 +42,18 @@ to-scp: to-dist site-perl-inst: site-perl-install -site-perl-install: bindings/perl-piped/Makefile bindings/perl-shared/Makefile +site-perl-install: all bindings/perl-piped/Makefile bindings/perl-shared/Makefile cd bindings/perl-piped && $(MAKE) install cd bindings/perl-shared && $(MAKE) install -site-tcl-install: +site-tcl-install: all cd bindings/tcl && $(MAKE) tcl-install +site-python-install: all + cd bindings/python && $(PYTHON) setup.py install + +# 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"}' +indent: + find ./ -name "*.[ch]" | xargs indent + ##END##