summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2022-11-24 00:15:10 (GMT)
committerGitHub <noreply@github.com>2022-11-24 00:15:10 (GMT)
commit8a31e6402df11c1bf8fbb1db3b29ec2c76fe6f26 (patch)
tree86abfa3b2463094b5ec6f44112bf5fe24582312a
parentf4f072ead86f307aeb55e0db05bcddc927834775 (diff)
parent2a782cc328839f13aa41c3fcfcccd4ec399d375f (diff)
downloadlz4-8a31e6402df11c1bf8fbb1db3b29ec2c76fe6f26.zip
lz4-8a31e6402df11c1bf8fbb1db3b29ec2c76fe6f26.tar.gz
lz4-8a31e6402df11c1bf8fbb1db3b29ec2c76fe6f26.tar.bz2
Merge pull request #1191 from vsolontsov-volant/install_lz4file_h
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