X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=debian%2Frules;h=6ddfafeb345196833ea674b8ae3101096a63fdb4;hb=c507642662c375767b672f9333e631ebf6cc2db5;hp=ed736c3ac771d1ad7d8716fab96f4c98ca2af7b3;hpb=76cec77ec4d266dc3b9cfcac55adb76fa930bbaf;p=rrdtool.git diff --git a/debian/rules b/debian/rules index ed736c3..6ddfafe 100755 --- a/debian/rules +++ b/debian/rules @@ -29,7 +29,7 @@ CFLAGS += -g endif # Whack the flags to compile additional dependent pieces -CFLAGS += -I/usr/include/libart-2.0 -I/usr/local/include/freetype2 +CFLAGS += -I/usr/include/libart-2.0 -I/usr/include/freetype2 ##NO_TCL CFLAGS += -I/usr/include/tcl8.4 @@ -39,6 +39,11 @@ configure-stamp: # Make sure we can find tcl stuff (configure won't fail) test -f $(tclconfigdir)/tclConfig.sh + # match the configure script to the build environment, as needed + #aclocal + #automake + #autoconf + # Configure C and Tcl stuff ##NO_TCL CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --enable-shared=yes --enable-static=yes --with-tcllib=$(tclconfigdir) --enable-local-libpng=yes --enable-local-zlib=yes CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --enable-shared=yes --enable-static=yes --enable-local-libpng=yes --enable-local-zlib=yes @@ -102,6 +107,9 @@ install: build-stamp mv $(tmp)/usr/share/man/man1/RRDp.1 $(tmp)/usr/share/man/man3/RRDp.3pm mv $(tmp)/usr/lib/perl $(tmp)/usr/lib/perl5 + ## trim off the doc sources + find $(tmp) -name "*.pod" | xargs rm -f + dh_movefiles # Build architecture-independent files here.