summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Solontsov <vsolontsov@volanttrading.com>2022-11-22 13:10:08 (GMT)
committerVladimir Solontsov <vsolontsov@volanttrading.com>2022-11-22 13:10:08 (GMT)
commit2a782cc328839f13aa41c3fcfcccd4ec399d375f (patch)
tree7c5aab45cfcc4f1f5bc55bd74954466fc715fb78
parent214bfb325bd4db112b73859912b919aa35e12d61 (diff)
downloadlz4-2a782cc328839f13aa41c3fcfcccd4ec399d375f.zip
lz4-2a782cc328839f13aa41c3fcfcccd4ec399d375f.tar.gz
lz4-2a782cc328839f13aa41c3fcfcccd4ec399d375f.tar.bz2
Add copying lz4file.h to make install
-rw-r--r--lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index ee262c0..a7dbea2 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -189,6 +189,7 @@ install: lib liblz4.pc
ifeq ($(BUILD_STATIC),yes)
$(INSTALL_DATA) liblz4.a $(DESTDIR)$(libdir)/liblz4.a
$(INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(includedir)/lz4frame_static.h
+ $(INSTALL_DATA) lz4file.h $(DESTDIR)$(includedir)/lz4file.h
endif
ifeq ($(BUILD_SHARED),yes)
# Traditionally, one installs the DLLs in the bin directory as programs
@@ -224,6 +225,7 @@ uninstall:
$(RM) $(DESTDIR)$(includedir)/lz4hc.h
$(RM) $(DESTDIR)$(includedir)/lz4frame.h
$(RM) $(DESTDIR)$(includedir)/lz4frame_static.h
+ $(RM) $(DESTDIR)$(includedir)/lz4file.h
@echo lz4 libraries successfully uninstalled
endif