From: Maxim Mamontov Date: Wed, 21 Sep 2011 09:31:23 +0000 (+0300) Subject: Fix installing libraries X-Git-Tag: 2.408-rc2~6 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/5a142737faacf1a56c8f57e032244ef66cc2f27e?hp=9578dbf0d15b06ad7ea22c8b6fb9fa844c5eb33e Fix installing libraries --- 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