Alois Mahdal
ea2642d531
Use proper terminology for macros ("macros", not "tokens")
6 gadus atpakaļ
Alois Mahdal
59bd58a2ca
Solve or mute last few ShellCheck issues
6 gadus atpakaļ
Alois Mahdal
6c5f673968
Add project name, tagline and LICENSE mention to all headers
6 gadus atpakaļ
Alois Mahdal
4c69c6b59b
Move global variables to new vars.sh module
6 gadus atpakaļ
Alois Mahdal
853dde7823
Move init failure code to die_init() (formerly die())
6 gadus atpakaļ
Alois Mahdal
d46b39ae0b
Print error message to stderr, not stdout
7 gadus atpakaļ
Alois Mahdal
1c48ab443c
Update and add function docstrings
7 gadus atpakaļ
Alois Mahdal
2c2b326204
Remove inefficient ShellCheck test
In this file we declare lot of globals and source lot of code, and
basically do only that, which makes this check less useful.
7 gadus atpakaļ
Alois Mahdal
1630a2752c
Allow overriding bump size (MKIT_BUMPSIZE)
If for some reason, user wants to skip a version or two, this will
override version bumping in vbump_* and some checks new and tag
creation in release_*.
7 gadus atpakaļ
Alois Mahdal
d310c03e50
Move all global definitions to one place
8 gadus atpakaļ
Alois Mahdal
46cdfa6dea
Sort globals alphabetically
8 gadus atpakaļ
Alois Mahdal
a02708cb8d
No need to export anything
8 gadus atpakaļ
Alois Mahdal
57e2f93fe4
Add docstrings to globals
8 gadus atpakaļ
Alois Mahdal
832c01ca55
Use more qualified tokens
8 gadus atpakaļ
Alois Mahdal
9acbd8256d
Fix DESTDIR/PREFIX logic
Hopefully this is now according to GNU standards.
8 gadus atpakaļ
Alois Mahdal
7b5e2721bf
Add MKIT_DEBUG mode and routines
8 gadus atpakaļ
Alois Mahdal
142cdbf606
Support relocable install via DESTDIR
DESTDIR[1] can be now set to specify the root in situations such as when
building a package or installing to a chrooted environment.
If not specified by environment variable (eg. by make) or in mkit.ini,
the default value is governed by MKIT_DEFAULT_DESTDIR, which defaults to
"/".
[1]: https://www.gnu.org/prep/standards/html_node/DESTDIR.html
8 gadus atpakaļ
Alois Mahdal
73d65fbd25
Add dry mode to skip actyal deploying/removing
8 gadus atpakaļ
Alois Mahdal
92173e208a
Clear incorrect modes
8 gadus atpakaļ
Alois Mahdal
b6516f38ab
Derive MKIT_DIR from $0 if unset
8 gadus atpakaļ
Alois Mahdal
f2316bd0de
Enable versioning
8 gadus atpakaļ
Alois Mahdal
a9b5e304eb
Move from fastfoo version 0.7.0+master.g7fde2b3
8 gadus atpakaļ