Skip to content

Add sdh_install helper function to sage-dist-helpers #25039

@embray

Description

@embray
Adds a new `sdh_install` helper function:

This is like a very simplified version of the `install` program, and is
intended for use by packages whose spkg-install just copies some files (or
more complex packages that copy some files as one of its steps).  The
majority of its functionality is just in ensuring that the full destination
path exists, and to provide some error checking.  This replaces some
patterns that occur frequently in some spkg-installs.

Also updates the mathjax and thebe packages as two examples of its usage (this implements #24024 for those packages).

Component: build

Keywords: destdir mathjax thebe

Author: Erik Bray

Branch/Commit: 0f848c3

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/25039

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions