X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=Makefile.am;h=358a666ca0ba4d4d75e8139df54af35eb161d69b;hp=9fbe6d088e55b2ec5920d5c41529d6cc5eb9cafc;hb=15a6a9daa43842107b430edeb535d0e8e3baadb0;hpb=22ecdee73cbb51ac7c3301ce39749f819ea72d0e diff --git a/Makefile.am b/Makefile.am index 9fbe6d0..358a666 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,21 @@ +# $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 -EXTRA_DIST = COPYRIGHT CHANGES NT-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \ - rrdtool.spec confignt/config.h +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/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 @@ -14,14 +23,13 @@ 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 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-dist: to-docs dist mv $(PACKAGE)-$(VERSION).tar.gz archive @@ -42,6 +50,10 @@ site-tcl-install: all cd bindings/tcl && $(MAKE) tcl-install site-python-install: all - cd bindings/python && $(MAKE) python-install + 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##