Fix "make uninstall" for documentation

During "make uninstall", the documentatin was not deleted properly,
if DESTDIR was used.  The existing commands expanded to:

make[3]: Entering directory '/home/osmocom-build/jenkins/workspace/master-rtl-sdr/a1/default/a2/default/a3/default/label/osmocom-master-debian9/librtlsdr-'
cd /tmp/am-dc-24621/ && rm -rf /home/osmocom-build/jenkins/workspace/master-rtl-sdr/a1/default/a2/default/a3/default/label/osmocom-master-debian9/librtlsdr-

This fixes the "make distcheck" step of rtl-sdr, and hence should also
fix the long-standing jenkins build verification for rtl-sdr

Signed-off-by: Harald Welte <>
Harald Welte 2018-06-03 13:20:00 +02:00
parent 5c3073f417
commit 8e9d4e6f2a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ install-data-hook:
cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar --strip-components 1 && rm -f html.tar
cd $(DESTDIR) && rm -rf $(doc_htmldir)
rm -rf $(DESTDIR)/$(doc_htmldir)
DX_CLEAN = doc/{html,latex}/* doc/html.tar