From 5a142737faacf1a56c8f57e032244ef66cc2f27e Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 21 Sep 2011 12:31:23 +0300 Subject: [PATCH 1/1] Fix installing libraries --- stglibs/Makefile.in | 2 +- stglibs/smux.lib/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stglibs/Makefile.in b/stglibs/Makefile.in index 5bbc24e5..8c97fae8 100644 --- a/stglibs/Makefile.in +++ b/stglibs/Makefile.in @@ -38,7 +38,7 @@ install: $(PROG) mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg - install -m $(DATA_MODE) -o $(OWNER) $(INCS) $(PREFIX)/usr/include/stg/ + install -m $(DATA_MODE) -o $(OWNER) $(addprefix include/stg/,$(INCS)) $(PREFIX)/usr/include/stg/ uninstall: rm -f $(PREFIX)/usr/lib/stg/$(PROG) diff --git a/stglibs/smux.lib/Makefile b/stglibs/smux.lib/Makefile index c5824be9..8988da2f 100644 --- a/stglibs/smux.lib/Makefile +++ b/stglibs/smux.lib/Makefile @@ -4,7 +4,7 @@ LIB_NAME = stgsmux SRCS = $(wildcard *.c) -INCS = $(wildcard include/stg/*.h) +INCS = $(notdir $(wildcard include/stg/*.h)) LIB_INCS = -I ./include/stg -- 2.44.2