X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=Makefile.am;h=321014c689baba99b2398313f87a218f7139df47;hp=de19d0f89f958198c246100cc57e3a791081b3f2;hb=b375d439fffdc6985be67b9ca6cdf4d072c704b1;hpb=edb1cd4b6c1ee3d4d451d8411937dad02396dfca diff --git a/Makefile.am b/Makefile.am index de19d0f..321014c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,11 +2,23 @@ RSYNC = rsync --rsh=ssh # build the following subdirectories -SUBDIRS = src bindings doc examples +if BUILD_LIBINTL +PO=po +else +PO= +endif + +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 \ + intltool-extract.in intltool-merge.in intltool-update.in \ + 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 \ + etc/rrdcached-default etc/rrdcached-init - # 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 favicon.ico CLEANFILES = config.cache @@ -22,7 +34,6 @@ ACLOCAL_M4= $(top_srcdir)/aclocal.m4 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 @@ -43,6 +54,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##