Code

update debian build instructions -- Mike Slifcak
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 26 May 2004 22:09:58 +0000 (22:09 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 26 May 2004 22:09:58 +0000 (22:09 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@275 a5681a0c-68f1-0310-ab6d-d61299d08faa

debian/rules

index ed736c3ac771d1ad7d8716fab96f4c98ca2af7b3..9207d8d4741a1cc03cbfb65fa8aaafb9d82fc151 100755 (executable)
@@ -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.