[arch-projects] [initscripts] [PATCH] Use a Makefile and clean up install file

Dan McGee dpmcgee at gmail.com
Thu Apr 21 15:53:23 EDT 2011


On Thu, Apr 21, 2011 at 2:50 PM, Tom Gundersen <teg at jklm.no> wrote:
> On Thu, Apr 21, 2011 at 9:05 PM, Dan McGee <dan at archlinux.org> wrote:
>> Use a Makefile to compile, rather than a call to gcc in install.sh. This
>> allows make's implict rules to take care of CFLAGS, LDFLAGS, CC, etc.
>>
>> Use `set -e` in the install file rather than needing '|| exit 1' on
>> every single operation.
>
> Thanks! Will apply this too.
>
>> diff --git a/.gitignore b/.gitignore
>> index 48f20c7..c601da6 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -1,2 +1,4 @@
>>  minilogd
>> +minilogd.o
>> +tags
>
> tags? should this be here?

Forgot to mention it in the commit message, but for those of us that
use 'ctags' religiously to get vim tag navigation, yes. That is the
name of the generated file.

Demo:
ctags -R
vim -t fsck_reboot

-Dan


More information about the arch-projects mailing list