X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=Makefile.am;h=78903cbf01bc9e6a9b022431dad6ed62644e6f0b;hp=984d6dbd5032142f9cc0d3ce3bfea0fecb47b9ce;hb=99bc538e0bef411b7d757f79a527629b99c40870;hpb=aa0c7ebb8a36702b4cc240ac139224d625c16160 diff --git a/Makefile.am b/Makefile.am index 984d6db..78903cb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,13 +2,22 @@ RSYNC = rsync --rsh=ssh # build the following subdirectories -SUBDIRS = src bindings doc examples +if BUILD_LIBINTL +PO=po +else +PO= +endif - # 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 \ - netware/Makefile + intltool-extract.in intltool-merge.in intltool-update.in \ + rrdtool.spec favicon.ico win32/Makefile win32/config.h \ + win32/rrd.dsp win32/rrd.sln win32/rrd.vcproj \ + 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 @@ -25,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 @@ -46,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##