[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: formatted GNUmakefile
From: |
Jan Nieuwenhuizen |
Subject: |
Re: formatted GNUmakefile |
Date: |
Sat, 30 Jun 2012 12:37:55 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (gnu/linux) |
Werner LEMBERG writes:
> And here is a revised version which shortens even more overlong lines.
+1
> SUBDIRS = \
> python scripts \
I'm a big fan of splitting lists into one entry per line; esp. if you
break at position 20 rather than 78. We still have no sensible
word-based diff format; as long as diffs work per line, mutations
are much more obvious and readable that way.
> test-clean: test-snippets-clean
> $(MAKE) -C input/regression \
> out=test \
> clean
This would be debatable. As it is only 50 characters wide, I would
probably put in on one line. Otoh, it helps with the diff rule above.
Mostly a matter of taste.
Jan
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.nl