X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9dbaa1f22054ff5492e793259d5641b876b57ac1..f001943e057aacb2242f654ec8d4af52ddd326df:/stglibs/Makefile.in diff --git a/stglibs/Makefile.in b/stglibs/Makefile.in index 5bbc24e5..b768b163 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) @@ -58,7 +58,7 @@ deps: $(SRCS) ../../Makefile.conf @>deps ;\ for file in $(SRCS); do\ echo "$$file" | grep ".c$$" > /dev/null;\ - if [ $$? == 0 ];\ + if [ $$? -eq 0 ];\ then\ echo "`$(CC) $(CFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ echo -e '\t$$(CC) $(CFLAGS) -c $$<' >> deps ;\