X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=Makefile.am;h=720daedd73cb0cad506f8a6fc1cbd8d9f9f55778;hp=cc9eeff51c006268f95e4480ece0eab7ef101949;hb=e3e38675dd28f4573c144b8aecc1a30ef6c7362f;hpb=b779fcc9413dac73e2c7b28d5f7a1b505a59136e diff --git a/Makefile.am b/Makefile.am index cc9eeff..720daed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,19 @@ +# $Id$ + ## Process this file with automake to produce Makefile.in RSYNC = rsync --rsh=ssh # build the following subdirectories -SUBDIRS = src bindings doc examples - # the following files are not mentioned in any other Makefile +SUBDIRS = po src examples doc bindings + + # 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/config.h win32/rrd.dsp win32/rrd.vcproj \ - win32/rrdtool.dsp win32/rrdtool.dsw win32/rrdtool.vcproj win32/Makefile \ - win32/rrd_config.h.msvc netware/Makefile + 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 @@ -18,7 +23,7 @@ CLEANFILES = config.cache AUTOMAKE_OPTIONS= foreign # where we keep local rules for automake - +ACLOCAL_AMFLAGS=-I m4 ACLOCAL_M4= $(top_srcdir)/aclocal.m4 #AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config #AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config @@ -29,10 +34,6 @@ to-docs: to-versync to-dist: to-docs dist mv $(PACKAGE)-$(VERSION).tar.gz archive -to-scp: to-dist - cp CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz /home/oetiker/public_html/webtools/rrdtool/pub/ - (cd /home/oetiker/public_html/webtools/rrdtool/pub; rm $(PACKAGE).tar.gz; ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz) - # $(RSYNC) CHANGES archive/$(PACKAGE)-$(VERSION).tar.gz tobi@ipn.caida.org:/ipn/web/Tools/RRDtool/pub/ site-perl-inst: site-perl-install @@ -45,6 +46,10 @@ site-tcl-install: all cd bindings/tcl && $(MAKE) tcl-install site-python-install: all - cd bindings/python && $(PYTHON) setup.py install + cd bindings/python && $(PYTHON) setup.py install $(if $(DESTDIR),--root=$(DESTDIR)) + +# 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##