* [devel] make 3.82
@ 2012-10-29 19:09 thecrux
2012-10-29 20:24 ` Michael Shigorin
0 siblings, 1 reply; 2+ messages in thread
From: thecrux @ 2012-10-29 19:09 UTC (permalink / raw)
To: ALT Linux Team development discussions
Небольшой вопрос по make.
Есть файл test.mk, такого вида:
foo=hello
bar=my
baz=world
all:
@echo $(foo) \
$(bar) \
$(baz)
Первая строка после all: начинается с символа табуляции, последующие
строки в качестве отступов - пробелы.
make 3.81 выравнивает все строки к одному табу:
$ make -pqRrs -f test.mk | grep -A3 @echo
@echo $(foo) \
$(bar) \
$(baz)
make 3.82 также добавляет табуляцию, но и сохраняет отступ в пробелах
$ make -pqRrs -f test.mk | grep -A3 @echo
@echo $(foo) \
$(bar) \
$(baz)
Является ли это фичей make 3.82 или каким-то побочным эффектом, который
может пропасть с выходом новых версий?
--
Vladimir Lettiev aka crux ✉ theCrux@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] make 3.82
2012-10-29 19:09 [devel] make 3.82 thecrux
@ 2012-10-29 20:24 ` Michael Shigorin
0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2012-10-29 20:24 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Mon, Oct 29, 2012 at 11:09:53PM +0400, thecrux/gmail.com wrote:
> Является ли это фичей make 3.82 или каким-то побочным эффектом,
> который может пропасть с выходом новых версий?
Насколько помню, поведение и для gmake не регламентировано,
не говоря уже о POSIX make -- так что я бы не стал на него
закладываться или обеспечивал постобработку самостоятельно.
В /usr/share/doc/make-3.82/NEWS ничего похожего не вижу,
но глянь на всякий ещё сам.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-29 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-29 19:09 [devel] make 3.82 thecrux
2012-10-29 20:24 ` Michael Shigorin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git