app-admin/ulogd: enable out-of-source build, minor cleanups
authorIlya Tumaykin <itumaykin@gmail.com>
Mon, 23 Nov 2015 11:52:09 +0000 (14:52 +0300)
committerIlya Tumaykin <itumaykin@gmail.com>
Mon, 23 Nov 2015 14:48:23 +0000 (17:48 +0300)
app-admin/ulogd/ulogd-2.0.5-r3.ebuild

index 71cf91e2eaabe9efb32f816e8ae9c92e9832951c..599d0c949dccfa6f6d80456fc89e483d259a1126 100644 (file)
@@ -5,7 +5,6 @@
 EAPI=5
 
 AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
 
 inherit autotools-utils eutils flag-o-matic linux-info readme.gentoo systemd user
 
@@ -121,16 +120,16 @@ src_install() {
 
        if use doc; then
                dohtml doc/${PN}.html
-               dodoc doc/${PN}.dvi doc/${PN}.txt doc/${PN}.ps
+               dodoc doc/${PN}.{dvi,ps,txt}
        fi
 
-       use sqlite && dodoc doc/sqlite3.table
        use mysql && dodoc doc/mysql-*.sql
        use postgres && dodoc doc/pgsql-*.sql
+       use sqlite && dodoc doc/sqlite3.table
        doman ${PN}.8
 
        insinto /etc
-       doins ${PN}.conf
+       doins "${BUILD_DIR}/${PN}.conf"
        fowners root:ulogd /etc/ulogd.conf
        fperms 640 /etc/ulogd.conf