fix install bug

error_handling v0.1.1
Avril 4 years ago
parent 93ccc41e0b
commit 688ea4be1a
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -3,7 +3,7 @@
PROJECT=cow PROJECT=cow
AUTHOR=Avril (Flanchan) <flanchan@cumallover.me> AUTHOR=Avril (Flanchan) <flanchan@cumallover.me>
VERSION=0.1.0 VERSION=0.1.1
ifeq ($(PREFIX),) ifeq ($(PREFIX),)
PREFIX := /usr/local PREFIX := /usr/local
@ -130,7 +130,7 @@ clean-rebuild:
clean: clean-rebuild clean: clean-rebuild
rm -f lib$(PROJECT){,-{release,debug,pgo}}.{a,so} rm -f lib$(PROJECT){,-{release,debug,pgo}}.{a,so}
install: | lib$(PROJECT).a lib$(PROJECT).so install:
install -d $(DESTDIR)$(PREFIX)/lib/ install -d $(DESTDIR)$(PREFIX)/lib/
install -m 644 lib$(PROJECT).a $(DESTDIR)$(PREFIX)/lib/ install -m 644 lib$(PROJECT).a $(DESTDIR)$(PREFIX)/lib/
install -m 755 lib$(PROJECT).so $(DESTDIR)$(PREFIX)/lib/ install -m 755 lib$(PROJECT).so $(DESTDIR)$(PREFIX)/lib/

Loading…
Cancel
Save