diff options
author | Thomas Orgis | 2021-02-26 13:48:30 +0100 |
---|---|---|
committer | Thomas Orgis | 2021-02-26 13:48:30 +0100 |
commit | 806df14f7b7c2b2ff45453a0623069a1edaa020c (patch) | |
tree | 8cb0517c37cb0f6ece9bdb60286bfe5bd9487922 | |
parent | c42677de4c5321d09f0889a220deec1bafdd573d (diff) |
Makefile: add devinst target
It makes sense to have the current date and the commit ID reported
by sorcery --version when having it installed from a git checkout.
Otherwise, it reports a wildly inaccurate stable release version which
confuses the developer testing differing branches/releases.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Makefile | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,6 @@ +2021-02-26 Thomas Orgis <sobukus@sourcemage.org> + * Makefile: added devinst target to mark installs from git checkout + 2020-10-01 Thomas Orgis <sobukus@sourcemage.org> * protected: add /bin/login (!!) @@ -29,7 +29,12 @@ bump-devel: bump: bump-$(BRANCH) +devinst: install + date +%Y%m%d | tr '\n' - > /etc/sorcery/version + git show --oneline | head -n 1 | cut -f 1 -d ' ' >> /etc/sorcery/version + #HELP: install - Install sorcery +#HELP: devinst - Install with version vom active branch #HELP: uninstall - Uninstall sorcery #HELP: convert - Convert from Pre 0.8.x grimoire to new codex format script-targets = install uninstall convert |