changeset 209:0fc1899391b6 stable-6-0-17

use autoconf to package the standard gnu documentation
author Carl Byington <carl@five-ten-sg.com>
date Wed, 05 Mar 2008 18:18:52 -0800
parents ec5cb59a7368
children cf2ecf5bacc9
files Makefile.am dnsbl.spec.in
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Wed Mar 05 00:17:46 2008 -0800
+++ b/Makefile.am	Wed Mar 05 18:18:52 2008 -0800
@@ -2,6 +2,8 @@
 hackdir = $(sysconfdir)/dnsbl
 hack_SCRIPTS = dnsbl
 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf cctld.conf dnsblnogrey
+htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
+html_DATA = AUTHORS COPYING ChangeLog NEWS README
 CLEANFILES = dnsbl xml/dnsbl xml/Makefile
 EXTRA_DIST = $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*)
 
--- a/dnsbl.spec.in	Wed Mar 05 00:17:46 2008 -0800
+++ b/dnsbl.spec.in	Wed Mar 05 18:18:52 2008 -0800
@@ -54,9 +54,7 @@
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d
-mv -f AUTHORS COPYING ChangeLog NEWS README         $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
 mkdir -p $RPM_BUILD_ROOT/var/run/%{name}
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/autowhite
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/.spamassassin