Add hierarchy-file support to the DPDK documentation, when invoking "make install H=1" (hierarchy-file)
This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html and dpdk spec file documentation will be installed in: $(DESTDIR)/usr/share/doc/dpdk Signed-off-by: Mario Carrillo <mario.alfredo.c.arevalo at intel.com> --- mk/rte.sdkinstall.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 2028a8b..41b8485 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -92,6 +92,8 @@ ifeq ($(H),1) $(Q)cp -f $(BUILD_DIR)/build/.config $(DATA_DIR)/dpdk/config @[ -d $(SBIN_DIR)/dpdk_nic_bind ] || mkdir -p $(SBIN_DIR)/dpdk_nic_bind $(Q)cp -f $(BUILD_DIR)/tools/*nic_bind.py $(SBIN_DIR)/dpdk_nic_bind + @[ -d $(DATA_DIR)/doc/dpdk/ ] || mkdir -p $(DATA_DIR)/doc/dpdk/ + $(Q)cp -a $(BUILD_DIR)/doc/* $(DATA_DIR)/doc/dpdk else $(Q)if [ ! -f $(BUILD_DIR)/$*/.config ]; then \ $(MAKE) config T=$* O=$(BUILD_DIR)/$*; \ -- 2.1.0