[arch-projects] [initscripts] [PATCH] Use a Makefile and clean up install file
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.
Signed-off-by: Dan McGee
On Thu, Apr 21, 2011 at 9:05 PM, Dan McGee
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?
On Thu, Apr 21, 2011 at 2:50 PM, Tom Gundersen
On Thu, Apr 21, 2011 at 9:05 PM, Dan McGee
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
On Thu, Apr 21, 2011 at 9:53 PM, Dan McGee
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
Cool, I did not know about that. Patch applied. -t
participants (3)
-
Dan McGee
-
Dan McGee
-
Tom Gundersen