Merge pull request #1191 from vsolontsov-volant/install_lz4file_h

Add copying lz4file.h to make install

GitOrigin-RevId: 8a31e6402df11c1bf8fbb1db3b29ec2c76fe6f26
Change-Id: I2f62433512967128f67781367b84d359cd6dd485
diff --git a/lib/Makefile b/lib/Makefile
index ee262c0..a7dbea2 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -189,6 +189,7 @@
   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 @@
 	$(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