Skip to content

make the path to pd-lib-builder configurable #2

@umlaeute

Description

@umlaeute

when packaging the latest release for @residuum's PuRestJson for Debian i noticed a slight problem with the proposed workflow of the Makefile.pdlibbuilder, as examplified in this helloworld project:

  • people use git-submodules to "include" the pd-lib-builder repository at a fixed path (following the helloworld, this is often pd-lib-builder/)
  • they include the makefile via include pd-lib-builder/Makefile.pdlibbuilder
  • they release software by creating tags and pushing them to (e.g.) github.

there is one catch to this setup:

  • when downloading the release tarball, the git-submodules are missing.

this basically makes the release-tarballs unusable (well, kind-of).

in some of my personal projects I use local copies of the Makefile.pdlibbuilder: while this fixes the problem, I can see that this is not very practical (for updating the pd-lib-builder Makefile).

I have therefore started to use both a git-submodule and a local copy of the pd-lib-builder Makefile (e.g. iemnet), where the local copy is only a fallback, if the submodule is missing.
I understand that people might still consider this an overkill though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions