1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-28 17:30:31 +00:00

Update version 1.0.0 instead of 1.0.0-dev

This commit is contained in:
Calvin Rose 2019-05-24 17:49:33 -04:00
parent 82a1c8635e
commit 5deb13d73e
2 changed files with 4 additions and 7 deletions

View File

@ -279,21 +279,18 @@ build/janet.tmLanguage: tools/tm_lang_gen.janet $(JANET_TARGET)
clean:
-rm -rf build vgcore.* callgrind.*
build/version.txt: $(JANET_TARGET)
$(JANET_TARGET) -e '(print janet/version)' > $@
SONAME=libjanet.so.1
install: $(JANET_TARGET) build/version.txt
install: $(JANET_TARGET)
mkdir -p $(BINDIR)
cp $(JANET_TARGET) $(BINDIR)/janet
mkdir -p $(INCLUDEDIR)/janet
cp -rf $(JANET_HEADERS) $(INCLUDEDIR)/janet
mkdir -p $(JANET_PATH)
mkdir -p $(LIBDIR)
cp $(JANET_LIBRARY) $(LIBDIR)/libjanet.so.$(shell cat build/version.txt)
cp $(JANET_LIBRARY) $(LIBDIR)/libjanet.so.$(shell $(JANET_TARGET) -e '(print janet/version)')
cp $(JANET_STATIC_LIBRARY) $(LIBDIR)/libjanet.a
ln -sf $(SONAME) $(LIBDIR)/libjanet.so
ln -sf libjanet.so.$(shell cat build/version.txt) $(LIBDIR)/$(SONAME)
ln -sf libjanet.so.$(shell $(JANET_TARGET) -e '(print janet/version)') $(LIBDIR)/$(SONAME)
cp tools/cook.janet $(JANET_PATH)
cp tools/highlight.janet $(JANET_PATH)
cp tools/bars.janet $(JANET_PATH)

View File

@ -25,7 +25,7 @@
#ifndef JANETCONF_H
#define JANETCONF_H
#define JANET_VERSION "1.0.0-dev"
#define JANET_VERSION "1.0.0"
/* #define JANET_BUILD "local" */
/* #define JANET_SINGLE_THREADED */