diff options
author | Roy Marples <roy@marples.name> | 2009-05-23 20:38:12 +0100 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-05-23 20:38:12 +0100 |
commit | c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc (patch) | |
tree | fe1f406f976dbcec3d7225ccf1b0f08f6957dfcc /mk/git.mk | |
parent | 5294abe6171610a1aa0eb093774bed9bb965c9cf (diff) | |
download | openrc-c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc.tar.gz openrc-c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc.tar.bz2 openrc-c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc.tar.xz |
Move non compiled libraries from /lib/rc to /libexec/rc
OpenRC version is now stored as plaintext in /libexec/rc/version
Plugins (cursplash, splashutils) will have to be re-compiled to pickup
the new directories. State data needs to be moved from /lib/rc/init.d
to /libexec/rc/init.d as well.
Diffstat (limited to 'mk/git.mk')
-rw-r--r-- | mk/git.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/git.mk b/mk/git.mk new file mode 100644 index 0000000..54a98ef --- /dev/null +++ b/mk/git.mk @@ -0,0 +1,8 @@ +_GITVER_SH= if git rev-parse --short HEAD >/dev/null 2>&1; then \ + printf "."; \ + git rev-parse --short HEAD; \ + else \ + echo ""; \ + fi +_GITVER!= ${_GITVER_SH} +GITVER= ${_GITVER}$(shell ${_GITVER_SH}) |