[Frugalware-darcs] fwrunit-scripts: fwrunit-scripts: added a Makefile

AlexExtreme alex at alex-smith.me.uk
Sat Oct 14 18:13:05 CEST 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fwrunit-scripts;a=darcs_commitdiff;h=20061014161343-46e39-937b0a2a0201c5d59bd445852ff9b8a3f8035ab5.gz;

[fwrunit-scripts: added a Makefile
AlexExtreme <alex at alex-smith.me.uk>**20061014161343] {
addfile ./Makefile
hunk ./Makefile 1
+LIBDIR=${DESTDIR}/lib
+ETCDIR=${DESTDIR}/etc
+BINDIR=${DESTDIR}/bin
+MODE=755
+DIRMODE=755
+CONFMODE=644
+
+all:
+	@echo "Run make install to install"
+
+make-dirs:
+	install -d -m ${DIRMODE} ${LIBDIR}/init
+	install -d -m ${DIRMODE} ${LIBDIR}/init/multi.d
+	install -d -m ${DIRMODE} ${LIBDIR}/init/startup.d
+	install -d -m ${DIRMODE} ${LIBDIR}/init/messages
+	install -d -m ${DIRMODE} ${LIBDIR}/init/services
+	install -d -m ${DIRMODE} ${LIBDIR}/init/runlevels
+	install -d -m ${DIRMODE} ${LIBDIR}/init/runlevels/default
+	install -d -m ${DIRMODE} ${BINDIR}
+	install -d -m ${DIRMODE} ${ETCDIR}
+	install -d -m ${DIRMODE} ${ETCDIR}/runit
+
+install: make-dirs
+	install -m ${CONFMODE} lib/init/functions 		${LIBDIR}/init/
+	install -m ${MODE} lib/init/startup 			${LIBDIR}/init/
+	install -m ${MODE} lib/init/local 			${LIBDIR}/init/
+	
+	install -m ${MODE} lib/init/startup.d/00udev 		${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/05font 		${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/12fsck 		${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/15mount 		${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/16killall		${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/17swap 		${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/18time 		${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/19bootclean 	${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/20modules 	${LIBDIR}/init/startup.d/
+	install -m ${MODE} lib/init/startup.d/22random 		${LIBDIR}/init/startup.d/
+	
+	install -m ${MODE} lib/init/multi.d/00hostname 		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/01hotplug 		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/02console 		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/05keymap 		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/15interfaces 	${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/16firewall 		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/17sysctl 		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/18alsa 		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/19lmsensors		${LIBDIR}/init/multi.d/
+	install -m ${MODE} lib/init/multi.d/20inetd 		${LIBDIR}/init/multi.d/
+	
+	install -m ${MODE} etc/runit/1 				${ETCDIR}/runit/
+	install -m ${MODE} etc/runit/2 				${ETCDIR}/runit/
+	install -m ${MODE} etc/runit/3 				${ETCDIR}/runit/
+	install -m ${MODE} etc/runit/ctrlaltdel 		${ETCDIR}/runit/
+	
+	install -m ${CONFMODE} etc/init.conf 			${ETCDIR}/
+	
+	install -m ${MODE} bin/mkinittrans			${BINDIR}/
}


More information about the Frugalware-darcs mailing list