aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-06-03 13:20:00 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-03 13:24:42 +0200
commit8e9d4e6f2a41bc0065b79270b6e45fbbfb9cc814 (patch)
tree066f838794c9a853e333715c7e49be576b2ab241 /Makefile.am
parent5c3073f4179a270eba2f88bca90446e390aa6da5 (diff)
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-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 <laforge@gnumonks.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c49e92a..65b2f21 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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