mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 11:09:54 +00:00
Fix install paths
This commit is contained in:
parent
0a15539d7b
commit
c971d8ab6e
8
Makefile
8
Makefile
@ -180,11 +180,11 @@ clean:
|
|||||||
|
|
||||||
install: $(JANET_TARGET)
|
install: $(JANET_TARGET)
|
||||||
mkdir -p $(BINDIR)
|
mkdir -p $(BINDIR)
|
||||||
cp $(JANET_TARGET) $(BINDIR)/$(JANET_TARGET)
|
cp $(JANET_TARGET) $(BINDIR)/janet
|
||||||
mkdir -p $(INCLUDEDIR)
|
mkdir -p $(INCLUDEDIR)
|
||||||
cp $(JANET_HEADERS) $(INCLUDEDIR)
|
cp $(JANET_HEADERS) $(INCLUDEDIR)
|
||||||
mkdir -p $(LIBDIR)
|
mkdir -p $(LIBDIR)
|
||||||
cp $(JANET_LIBRARY) $(LIBDIR)/$(JANET_LIBRARY)
|
cp $(JANET_LIBRARY) $(LIBDIR)/libjanet.so
|
||||||
cp janet.1 /usr/local/share/man/man1/
|
cp janet.1 /usr/local/share/man/man1/
|
||||||
mandb
|
mandb
|
||||||
$(LDCONFIG)
|
$(LDCONFIG)
|
||||||
@ -195,8 +195,8 @@ install-libs: natives
|
|||||||
cp natives/*/*.so $(JANET_PATH)
|
cp natives/*/*.so $(JANET_PATH)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
-rm $(BINDIR)/$(JANET_TARGET)
|
-rm $(BINDIR)/../$(JANET_TARGET)
|
||||||
-rm $(LIBDIR)/$(JANET_LIBRARY)
|
-rm $(LIBDIR)/../$(JANET_LIBRARY)
|
||||||
-rm -rf $(INCLUDEDIR)
|
-rm -rf $(INCLUDEDIR)
|
||||||
$(LDCONFIG)
|
$(LDCONFIG)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user