octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60413] build: sed expression problems when pr


From: Rik
Subject: [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash
Date: Wed, 28 Apr 2021 16:17:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36

Follow-up Comment #21, bug #60413 (project octave):

I don't think it's super critical, but we've used the explicit form of
variable substitution in other parts of Octave.  For example, if you look in
doc/interpreter/module.mk you will find


        $(PERL) $(srcdir)/%reldir%/munge-texi.pl $(top_srcdir) 
$(DOCSTRING_FILES) <
$< > $@-t && \


This could have been written "$PERL", but the extra parentheses really make it
clear that we are doing variable substitution.

In this case, we could write "$(SED)", but "$SED" is probably fine too.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60413>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]