News for hackers. Stuff that matters.
Re:Show HN: Minimal build system using just /bin/sh by gardnr on Friday August 18, 2017 @02:06AM (#15043950)
Looking as the sh code, it appears that it will work without tab characters. https://stackoverflow.com/a/2131227/1144060

So there's that.

Re:Show HN: Minimal build system using just /bin/sh by akkartik on Friday August 18, 2017 @02:09AM (#15043960)
As it happens, I was moved to create this standalone repo showing off my current build setup after writing this comment: https://www.reddit.com/r/vim/comments/6l8z34/vim_betrayed_me...

So yes, eliminating tabs (or rather the execrable requirement of using tabs) was absolutely a prime goal.

Re:Show HN: Minimal build system using just /bin/sh by Symbiote on Friday August 18, 2017 @03:35AM (#15044273)
Put this in ~/.editorconfig

    [Makefile]
    indent_style = tab
And install the plugin, which is available for most editors and IDEs.

http://editorconfig.org/

Re:Show HN: Minimal build system using just /bin/sh by falcolas on Friday August 18, 2017 @07:59AM (#15045363)
It's not a requirement - I give you: .RECIPEPREFIX

> If you prefer to prefix your recipes with a character other than tab, you can set the .RECIPEPREFIX variable to an alternate character

That said, how hard is it really to disable tab expansion in your editor? I have a block of configuration dedicated to the different indentation requirements of different programming and configuration languages. In more modern editors, I don't even have to do anything at all to edit Makefiles with tabs - they come pre-configured to do the right thing.