Subject: When to put \n in Makefile
To: None <tech-pkg@netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: tech-pkg
Date: 01/21/2001 23:16:08
-               ${SED}  -e "s,@PREFIX@,${PREFIX},g" \
-                       -e "s,@CC@,${CC},g" \
-                       -e "s,@CFLAGS@,${CFLAGS},g" \
-                       < ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.done
+               ${SED}  -e "s,@PREFIX@,${PREFIX},g" -e "s,@CC@,${CC},g" \
+                       -e "s,@CFLAGS@,${CFLAGS},g" < ${WRKSRC}/Makefile \
+                       > ${WRKSRC}/Makefile.done

These are changes that fredb made to my Makefile.
I wonder which way is prefered -- shorter (many -e's in one line)
or more readable and easier to edit (my version, minuses).
[ I can easily delete one s/ with "dd" in my favourite editor,
and don't need to modify other ]

I don't want to complain, I'm just asking.

-- 
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.eik.pl */