mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Simplify build example.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
dcb42602c9
commit
cab339c857
1 file changed
+5
-8
@@ -388,14 +388,12 @@ what is built and where resulting binaries are installed.
|
|||||||
|
|
||||||
First, unpack the archive:
|
First, unpack the archive:
|
||||||
|
|
||||||
<kbd>$ tar xfJ finit-1.3.tar.xz</kbd>
|
<kbd>$ tar xfJ finit-1.3.tar.xz; cd finit-1.3/</kbd>
|
||||||
|
|
||||||
Then build and install:
|
Then build and install:
|
||||||
|
|
||||||
<kbd>$ PLUGINS="initctl.so hwclock.so" DESTDIR=/tmp/finit/dst \
|
<kbd>$ PLUGINS="initctl.so hwclock.so" DESTDIR=/tmp/finit make install</kbd>
|
||||||
make -C finit-1.3/ clean install</kbd>
|
|
||||||
|
|
||||||
make: Entering directory `/home/troglobit/finit-1.3'
|
|
||||||
CC finit.o
|
CC finit.o
|
||||||
CC conf.o
|
CC conf.o
|
||||||
CC helpers.o
|
CC helpers.o
|
||||||
@@ -408,10 +406,9 @@ Then build and install:
|
|||||||
PLUGIN plugins/initctl.so
|
PLUGIN plugins/initctl.so
|
||||||
CC plugins/hwclock.o
|
CC plugins/hwclock.o
|
||||||
PLUGIN plugins/hwclock.so
|
PLUGIN plugins/hwclock.so
|
||||||
INSTALL /tmp/finit/dst/sbin/finit
|
INSTALL /tmp/finit/sbin/finit
|
||||||
INSTALL /tmp/finit/dst/lib/finit/plugins/initctl.so
|
INSTALL /tmp/finit/lib/finit/plugins/initctl.so
|
||||||
INSTALL /tmp/finit/dst/lib/finit/plugins/hwclock.so
|
INSTALL /tmp/finit/lib/finit/plugins/hwclock.so
|
||||||
make: Leaving directory `/home/troglobit/finit-1.3'
|
|
||||||
|
|
||||||
In this example the [finit-1.3.tar.xz][10] archive is unpacked to the
|
In this example the [finit-1.3.tar.xz][10] archive is unpacked to the
|
||||||
user's home directory, built and installed to a temporary staging
|
user's home directory, built and installed to a temporary staging
|
||||||
|
|||||||
Reference in new issue
Block a user