1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 02:59:54 +00:00

Fix install paths

This commit is contained in:
Calvin Rose 2018-12-09 18:01:43 -05:00
parent 0a15539d7b
commit c971d8ab6e

View File

@ -180,11 +180,11 @@ clean:
install: $(JANET_TARGET)
mkdir -p $(BINDIR)
cp $(JANET_TARGET) $(BINDIR)/$(JANET_TARGET)
cp $(JANET_TARGET) $(BINDIR)/janet
mkdir -p $(INCLUDEDIR)
cp $(JANET_HEADERS) $(INCLUDEDIR)
mkdir -p $(LIBDIR)
cp $(JANET_LIBRARY) $(LIBDIR)/$(JANET_LIBRARY)
cp $(JANET_LIBRARY) $(LIBDIR)/libjanet.so
cp janet.1 /usr/local/share/man/man1/
mandb
$(LDCONFIG)
@ -195,8 +195,8 @@ install-libs: natives
cp natives/*/*.so $(JANET_PATH)
uninstall:
-rm $(BINDIR)/$(JANET_TARGET)
-rm $(LIBDIR)/$(JANET_LIBRARY)
-rm $(BINDIR)/../$(JANET_TARGET)
-rm $(LIBDIR)/../$(JANET_LIBRARY)
-rm -rf $(INCLUDEDIR)
$(LDCONFIG)