reproduce-devel
[Top][All Lists]
Advanced

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

[task #16017] Script instead of build-rules.mk for generic build command


From: Mohammad Akhlaghi
Subject: [task #16017] Script instead of build-rules.mk for generic build commands
Date: Fri, 16 Jul 2021 18:44:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

URL:
  <https://savannah.nongnu.org/task/?16017>

                 Summary: Script instead of build-rules.mk for generic build
commands
                 Project: Maneage
            Submitted by: makhlaghi
            Submitted on: Fri 16 Jul 2021 11:44:25 PM BST
         Should Start On: Fri 16 Jul 2021 12:00:00 AM BST
   Should be Finished on: Fri 16 Jul 2021 12:00:00 AM BST
                Category: Software
                Priority: 5 - Normal
                  Status: Postponed
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

Almost all programs follow some common build steps (mostly with the GNU Build
system, some also with a CMake system. To avoid repeating the same set of
steps, we currently have some Make functions in
'reproduce/software/make/build-rules.mk'.

But Make functions have some peculiarities that make them hard to maintain
when they get long! For example they need to be seen as one long line! So we
need to put '\' at the end of all lines and ';' at the end of commands and
can't have comments.

So it is much better to have scripts instead of Make functions. 




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?16017>

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




reply via email to

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