]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Ensure that documentation is installed in the right place.
authorVincent Bernat <bernat@luffy.cx>
Sun, 28 Mar 2010 20:53:08 +0000 (22:53 +0200)
committerVincent Bernat <bernat@luffy.cx>
Sun, 28 Mar 2010 20:53:08 +0000 (22:53 +0200)
On SuSE derivatives, the documentation is not in /usr/share/doc/lldpd
but in /usr/share/doc/packages/lldpd.

redhat/lldpd.spec

index b97449658e7a513f3b0c65b110e065f9cb091d77..6dba94ab76cbce4c2dca586e1ec7ea3d7d0175b7 100644 (file)
@@ -99,7 +99,8 @@ protocol. It also handles LLDP-MED extension.
    --with-privsep-user=%lldpd_user \
    --with-privsep-group=%lldpd_group \
    --with-privsep-chroot=%lldpd_chroot \
-   --prefix=/usr --localstatedir=%lldpd_chroot --sysconfdir=/etc --libdir=%{_libdir}
+   --prefix=/usr --localstatedir=%lldpd_chroot --sysconfdir=/etc --libdir=%{_libdir} \
+   --docdir=%{_docdir}/lldpd
 
 [ -f /usr/include/net-snmp/agent/struct.h ] || touch src/struct.h
 make %{?_smp_mflags}