1
0

rework doc

- drop linux-doc
- always build tools with docs
This commit is contained in:
2024-10-29 05:12:06 +03:00
parent 035dfc85aa
commit 6d27d8e6f8
14 changed files with 4 additions and 101 deletions

View File

@@ -13,15 +13,11 @@ MAKE_BPFTOOL += feature-libbfd=0 feature-libbfd-liberty=0 feature-libbfd-liberty
all:
$(MAKE_BPFTOOL)
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
$(MAKE_BPFTOOL) doc
endif
# Check that bpftool wasn't linked with libbfd
type ldd
! ldd $(CURDIR)/bpftool | grep -E '\blibbfd'
install:
$(MAKE_BPFTOOL) install
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
$(MAKE_BPFTOOL) doc-install
endif

View File

@@ -48,9 +48,7 @@ all:
# set. We must define it even when building to avoid a rebuild when we
# run 'make install'.
+$(MAKE_PERF) -C $(top_srcdir)/tools/perf -f Makefile.perf all DESTDIR=dummy
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
+$(MAKE_PERF) -C $(top_srcdir)/tools/perf/Documentation man
endif
# Check that perf didn't get linked against incompatibly-licensed libraries
@if readelf -d $(CURDIR)/perf | sed -rne 's/.*NEEDED.*\[(.*)\]/\1/p' | grep -E '\blib(bfd|crypto)'; then \
echo; \

View File

@@ -18,9 +18,6 @@ all:
install:
+$(MAKE_CPUPOWER) -C $(top_srcdir)/tools/power/cpupower install DESTDIR=$(DESTDIR)
ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
rm -rf $(DESTDIR)/usr/share/man
endif
clean:
+$(MAKE_CPUPOWER) -C $(top_srcdir)/tools/power/cpupower clean

View File

@@ -14,9 +14,6 @@ all:
install:
$(MAKE_RTLA) install
ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
rm -rf $(DESTDIR)/usr/share/man
endif
clean:
rm -rf *

View File

@@ -23,9 +23,6 @@ all:
install:
$(MAKE) V=1 install
ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
rm -rf $(DESTDIR)/usr/share/man
endif
clean:
rm -rf *