From cab339c857503638f7ce6ecf8a016e3766a94fc6 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 24 Jan 2015 16:07:55 +0100 Subject: [PATCH] Simplify build example. Signed-off-by: Joachim Nilsson --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 20739dde..4a85cbd3 100644 --- a/README.md +++ b/README.md @@ -388,14 +388,12 @@ what is built and where resulting binaries are installed. First, unpack the archive: -$ tar xfJ finit-1.3.tar.xz +$ tar xfJ finit-1.3.tar.xz; cd finit-1.3/ Then build and install: -$ PLUGINS="initctl.so hwclock.so" DESTDIR=/tmp/finit/dst \ - make -C finit-1.3/ clean install +$ PLUGINS="initctl.so hwclock.so" DESTDIR=/tmp/finit make install - make: Entering directory `/home/troglobit/finit-1.3' CC finit.o CC conf.o CC helpers.o @@ -408,10 +406,9 @@ Then build and install: PLUGIN plugins/initctl.so CC plugins/hwclock.o PLUGIN plugins/hwclock.so - INSTALL /tmp/finit/dst/sbin/finit - INSTALL /tmp/finit/dst/lib/finit/plugins/initctl.so - INSTALL /tmp/finit/dst/lib/finit/plugins/hwclock.so - make: Leaving directory `/home/troglobit/finit-1.3' + INSTALL /tmp/finit/sbin/finit + INSTALL /tmp/finit/lib/finit/plugins/initctl.so + INSTALL /tmp/finit/lib/finit/plugins/hwclock.so 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