From 8ab548900b6677e758a6fc58cdb4de02405daa9b Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 14 Dec 2022 17:06:17 +0100 Subject: [PATCH] Fixed autogenerated lib header --- Makefile | 3 +-- premake.make | 26 ++++++++++++++------------ 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 174c08f..1edb272 100644 --- a/Makefile +++ b/Makefile @@ -109,8 +109,7 @@ endif $(INSTALL) -d $(LIBDIR) $(INSTALL) -m 644 $(OUTDIR)$(REALNAME) $(LIBDIR) $(INSTALL) -d $(INCLUDEDIR)/$(LIBNAME) - $(INSTALL) -m 644 $(HEADERSRCDIR)/$(LIBNAME).hpp $(INCLUDEDIR)/$(LIBNAME) - $(INSTALL) -m 644 $(HDRS) $(INCLUDEDIR)/$(LIBNAME) + $(INSTALL) -m 644 $(HEADERSRCDIR)/$(LIBNAME).hpp $(INCLUDEDIR) ifeq ($(UNAME_S),Darwin) cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME) endif diff --git a/premake.make b/premake.make index 2a09f67..ab0406b 100644 --- a/premake.make +++ b/premake.make @@ -4,16 +4,18 @@ MAJOR := 1 MINOR := 1 PATCH := 0 +GENERATELIBHEADER := 1 + HDRS := \ -fdiobuf.hpp \ -fdistream.hpp \ -fdostream.hpp \ -fdstream.hpp \ -socketstream.hpp \ -float80.hpp \ -byte_order.hpp \ -data_streamer.hpp \ -byte_order_changer.hpp \ -memstreambuf.hpp \ -mapped_file.hpp \ -imemfile.hpp \ +src/fdiobuf.hpp \ +src/fdistream.hpp \ +src/fdostream.hpp \ +src/fdstream.hpp \ +src/socketstream.hpp \ +src/float80.hpp \ +src/byte_order.hpp \ +src/data_streamer.hpp \ +src/byte_order_changer.hpp \ +src/memstreambuf.hpp \ +src/mapped_file.hpp \ +src/imemfile.hpp \