]> git.proxmox.com Git - rustc.git/commitdiff
rust-doc: Remove unnecessary *.inc files
authorAngus Lees <gus@inodes.org>
Mon, 20 Jul 2015 14:07:49 +0000 (00:07 +1000)
committerAngus Lees <gus@inodes.org>
Mon, 20 Jul 2015 14:07:49 +0000 (00:07 +1000)
These are only used during HTML generation - the *.inc files are
unnecessary in the resulting package.

debian/rules

index cde7e6c40f1859379e45905e96858b29fbc37190..a77d0b0e78d081469c06bcaac8c4298261ef8964 100755 (executable)
@@ -108,7 +108,7 @@ ifneq (,$(BUILD_DOCS))
          sed -i "s,http://www.rust-lang.org/\(favicon.ico\|logos/rust-logo-32x32-blk.png\),$${topdir}rust-logo-32x32-blk.png," "$$file"; \
        done
 
-       find $(DEB_DESTDIR) \( -iname '*.html' -empty -o -name .lock \) -delete
+       find $(DEB_DESTDIR) \( -iname '*.html' -empty -o -name .lock -o -name '*.inc' \) -delete
 
        find $(DEB_DESTDIR)/usr/share/doc -name jquery.js \
          -exec ln -sf /usr/share/javascript/jquery/jquery.js '{}' \;