On 03/06/12 05:29, Bruce Dubbs wrote:
> Lemon Lime wrote:
>> I think the "-C src" in the instructions for sysvinit is not needed:
>>
>> pkg:~/build/sysvinit-2.88dsf$ cat Makefile
>> all install clean distclean:
>>      $(MAKE) -C src $@
>>
>> I already built it a few times with just "make" and "make install" and
>> it worked.
>
> You're right.  It's not needed to build.  We could also have done:
>
> cd src
> sed -i 's@Sending processes@&  configured via /etc/inittab@g' init.c
> sed -i -e 's/utmpdump wall/utmpdump/' \
>          -e '/= mountpoint/d'           \
>          -e 's/mountpoint.1 wall.1//' Makefile
> make
> make install
>
> There's more than one way to do things, but we like to show some
> variations of commands too when they are not too exotic.
>
>     -- Bruce

Okay. I thought it was from an earlier version which didn't have a
top-level Makefile, or something similar.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to