Code

Remove auto-generated doc from installed tmp directory.
authorSebastian Harl <sh@tokkee.org>
Sat, 23 Nov 2013 18:45:47 +0000 (19:45 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 23 Nov 2013 18:45:47 +0000 (19:45 +0100)
… rather than the source dir. Else, 'make install' recreates the file.

debian/rules

index 5ac6fcfbbfd9a90d1dcbc0bbb474e07460b4f105..e848beb0b16ddc05ce4d84fdf12ea1653da6c2d8 100755 (executable)
@@ -66,9 +66,10 @@ install: build
        dh_clean -k
        dh_installdirs
        
-       # don't ship install instructions; README only links to them
-       rm -f INSTALL.html README.html
        $(MAKE) install install-doc DESTDIR=$(CURDIR)/debian/tig
+       # don't ship install instructions; README only links to them
+       rm -f debian/tig/usr/share/doc/tig/INSTALL.html \
+               debian/tig/usr/share/doc/tig/README.html
        
        mkdir -p debian/tig/etc/bash_completion.d
        cp contrib/tig-completion.bash debian/tig/etc/bash_completion.d/tig