Update installation of docs & examples to match new makefiles.
authornbk <nbk>
Sun, 5 Feb 2006 16:56:40 +0000 (16:56 +0000)
committernbk <nbk>
Sun, 5 Feb 2006 16:56:40 +0000 (16:56 +0000)
debian/rules

index b6e191d..94feaaa 100755 (executable)
@@ -41,9 +41,6 @@ else
 #      $(error Cannot cross-compile this package out-of-the-box)
 endif
 
-# Libtool won't play nice, so we won't play at all
-export RLM_EAP_LINK_MODE = -static
-
 build-simple: stamp-build
 stamp-build: stamp-patch
        dh_testdir
@@ -59,10 +56,11 @@ stamp-build: stamp-patch
                --localstatedir=/var \
                --with-raddbdir=$(raddbdir) \
                --with-logdir=/var/log/$(package) \
-               --enable-ltdl-install=no --enable-strict-dependencies \
+               --disable-ltdl-install \
                --with-large-files --with-udpfromto --with-edir \
                --with-rlm_sql_postgresql_lib_dir=`pg_config --libdir` \
                --with-rlm_sql_postgresql_include_dir=`pg_config --includedir` \
+               --enable-strict-dependencies \
                --enable-developer
 
 #              To make SSL-free, add this:
@@ -159,8 +157,10 @@ binary-arch: stamp-build
        test ! -d $(freeradius_dir)/etc/raddb || rmdir $(freeradius_dir)/etc/raddb
        test ! -d $(freeradius_dir)/var/log/radius/radacct || rmdir $(freeradius_dir)/var/log/radius/radacct
        test ! -d $(freeradius_dir)/var/log/radius || rmdir $(freeradius_dir)/var/log/radius
-#      Yuck! the makefile in doc/ does this.
-       rm -rf $(freeradius_dir)/usr/share/doc/freeradius-1.1.0
+#      this is from the Makefile in doc/
+       rm -f $(freeradius_dir)/usr/share/doc/freeradius/ChangeLog
+#      and this one from the Makefile in src/modules/rlm_perl
+       rm -f $(freeradius_dir)/etc/freeradius/example.pl
 
        # split out inconvenient/controversal modules to other places
        for modname in $(modulepackages); do \
@@ -169,9 +169,9 @@ binary-arch: stamp-build
        done
 
        # man pages & docs
-       dh_installdocs -X\*.in -Xradwatch -Xcheck-radius-config -XChangeLog -X00-OLD -XCVS -XMakefile doc/*
+       dh_installdocs
        install -g root -m 644 CREDITS $(freeradius_dir)/$(pkgdocdir)/credits
-       dh_installexamples -XCVS `find src/modules/rlm_sql/drivers -type f -name \*.sql`
+       dh_installexamples -XCVS -XMakefile -X\\.in src/modules/rlm_perl/example.pl
        dh_installchangelogs doc/ChangeLog
        #Rename manpage to go with binary
        mv $(freeradius_dir)/$(mandir)/man8/radiusd.8 $(freeradius_dir)/$(mandir)/man8/$(package).8