summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-05-23 20:38:12 +0100
committerRoy Marples <roy@marples.name>2009-05-23 20:38:12 +0100
commitc0fd1b49e49cec28c1f5a3a76f9db11c62e550dc (patch)
treefe1f406f976dbcec3d7225ccf1b0f08f6957dfcc /Makefile
parent5294abe6171610a1aa0eb093774bed9bb965c9cf (diff)
downloadopenrc-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 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d9460e0..0cf32e2 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,9 @@ include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/subdir.mk
include ${MK}/dist.mk
+include ${MK}/git.mk
_installafter:
- ${INSTALL} -d ${DESTDIR}/${PREFIX}/${RC_LIB}/init.d
- ${INSTALL} -d ${DESTDIR}/${PREFIX}/${RC_LIB}/tmp
+ ${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/init.d
+ ${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/tmp
+ ${ECHO} "${VERSION}${GITVER}" > ${DESTDIR}/${LIBEXECDIR}/version