rework doc
- drop linux-doc - always build tools with docs
This commit is contained in:
4
debian/rules.d/tools/bpf/bpftool/Makefile
vendored
4
debian/rules.d/tools/bpf/bpftool/Makefile
vendored
@@ -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
|
||||
|
2
debian/rules.d/tools/perf/Makefile
vendored
2
debian/rules.d/tools/perf/Makefile
vendored
@@ -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; \
|
||||
|
3
debian/rules.d/tools/power/cpupower/Makefile
vendored
3
debian/rules.d/tools/power/cpupower/Makefile
vendored
@@ -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
|
||||
|
3
debian/rules.d/tools/tracing/rtla/Makefile
vendored
3
debian/rules.d/tools/tracing/rtla/Makefile
vendored
@@ -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 *
|
||||
|
3
debian/rules.d/tools/usb/usbip/Makefile
vendored
3
debian/rules.d/tools/usb/usbip/Makefile
vendored
@@ -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 *
|
||||
|
Reference in New Issue
Block a user