Skip to content

Commit

Permalink
Fix "make uninstall" for documentation
Browse files Browse the repository at this point in the history
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-0.5.4.5-5c30/_build/sub'
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-0.5.4.5-5c30/_inst/share/doc/librtlsdr/librtlsdr-0.5.4.5-5c30/html

This fixes the "make distcheck" step of rtl-sdr, and hence should also
fix the long-standing jenkins build verification for rtl-sdr
at https://jenkins.osmocom.org/jenkins/job/master-rtl-sdr/

Signed-off-by: Harald Welte <[email protected]>
  • Loading branch information
laf0rge committed Jun 3, 2018
1 parent 5c3073f commit 8e9d4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ install-data-hook:
cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar --strip-components 1 && rm -f html.tar

uninstall-hook:
cd $(DESTDIR) && rm -rf $(doc_htmldir)
rm -rf $(DESTDIR)/$(doc_htmldir)

DX_CLEAN = doc/{html,latex}/* doc/html.tar

Expand Down

0 comments on commit 8e9d4e6

Please sign in to comment.