-
Notifications
You must be signed in to change notification settings - Fork 11
Description
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-builderrepository at a fixed path (following the helloworld, this is oftenpd-lib-builder/) - they include the makefile via
include pd-lib-builder/Makefile.pdlibbuilder - they release software by creating
tagsand 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.