Hi

Good point on the NOTESTS=1 - that's confusing and actually redundant as we 
already have tests target, so I simplified the Makefile and updated README.org 
section on building:

  cd /path/to/Emacs-MATLAB-mode

  # Build lisp and run tests (requires MATLAB executable):
  make
  # Alternatively, build lisp and run tests using a specific MATLAB executable:
  make MATLAB_EXE=/path/to/matlab

  # If desired, you can separate the building of lisp and running tests using:
  make lisp
  make tests
  make tests MATLAB_EXE=/path/to/matlab # if using a specific MATLAB executable

________________________________
From: Uwe Brauer via Matlab-emacs-discuss 
<matlab-emacs-discuss@lists.sourceforge.net>
Sent: Thursday, September 5, 2024 8:57 AM
To: Matlab-emacs-discuss <matlab-emacs-discuss@lists.sourceforge.net>
Subject: [Matlab-emacs-discuss] change targets makefile


Hi

Given the recent discussion (and problems) with the Makefile, may I suggest the 
following.



    - make lisp (just byte compiles the .el files and generate
      matlab-load) instead of make NOTESTS=1

    - make matlab-test runs the matlab test

    - make all runs lisp+matlab-test

Does this make sense?

Uwe

--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.

_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to