fix apply errors
[nedit-bw.git] / makefile_column_targets.patch
bloba5e52046118e80aa16014455dfa029e72007455a
1 Subject: use column(1) to show possible make targets
3 ---
5 Makefile | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
8 diff --quilt old/Makefile new/Makefile
9 --- old/Makefile
10 +++ new/Makefile
11 @@ -16,7 +16,7 @@ SHELL=/bin/sh
12 all:
13 @echo "Please specify target:"
14 @echo "(For example, type \"make linux\" for a Linux system.)"
15 - @(cd makefiles && ls -C Makefile* | sed -e 's/Makefile.//g')
16 + @ls makefiles/Makefile* | sed -e 's|makefiles/Makefile\.||g' | column | column -t | sed -e 's/^/\t/'
18 .DEFAULT:
19 @- (cd Microline/XmL; if [ -f ../../makefiles/Makefile.$@ -a ! -f ./Makefile.$@ ];\