X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=Makefile.am;h=321014c689baba99b2398313f87a218f7139df47;hp=1ed167054fa9a71658ff3e05b03815606e074efb;hb=b375d439fffdc6985be67b9ca6cdf4d072c704b1;hpb=16af423f0593e795731c4ab6917bf9a3e0e76e90 diff --git a/Makefile.am b/Makefile.am index 1ed1670..321014c 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/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 @@ -47,4 +56,8 @@ site-tcl-install: all 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##