Whamcloud - gitweb
Remove useful UUID specification from Debian packaging thanks to license Nazi's
authorTheodore Ts'o <tytso@mit.edu>
Mon, 2 Oct 2006 17:31:10 +0000 (13:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 2 Oct 2006 17:31:10 +0000 (13:31 -0400)
Addresses Debian Bug: #390664

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/rules

index dec2305..4000ebc 100755 (executable)
@@ -343,8 +343,11 @@ binary-arch: install install-udeb
                ${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples
 
        $(INSTALL) -d ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION}
-       $(INSTALL) -p -m 0644 doc/draft-leach-uuids-guids-01.txt \
-               ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION}
+       if test -f /etc/lsb-release && \
+               grep -q DISTRIB_ID=Ubuntu /etc/lsb-release; then \
+           $(INSTALL) -p -m 0644 doc/draft-leach-uuids-guids-01.txt \
+               ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION}; \
+       fi
 
        dh_installinfo -pcomerr-dev ${stdbuilddir}/lib/et/com_err.info
        dh_installinfo -pe2fslibs-dev ${stdbuilddir}/doc/libext2fs.info