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

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

[Octave-bug-tracker] [bug #51678] YACC always run for oct-parse.h and oc


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #51678] YACC always run for oct-parse.h and oct-text-parser.h
Date: Mon, 7 Aug 2017 12:26:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #4, bug #51678 (project octave):

OTOH, maybe we don't really want to disable ALL uses of move-if-change.  I
just tried this edit to the generated Makefile


--- Makefile    2017-08-07 12:08:26.096246435 -0400
+++ Makefile~   2017-08-07 09:31:41.899880857 -0400
@@ -28166,7 +28166,7 @@
 
 define move_if_change_rule
   if [ -s $(1) ]; then \
-    mv $(1) $(2); \
+    ${SHELL} ${top_srcdir}/build-aux/move-if-change $(1) $(2); \
   else \
     echo "$(1) is empty!" 1>&2; \
     rm -f $(1); \


and then each time make runs, we end up generating some build scripts and
relinking all the .oct files.  I'm looking to see whether there is a good
compromise (mostly disable move-if-change) but ultimately this may not be
worth fixing.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51678>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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