This modifies tar_em_up.sh -B -n to add all the extra files of the Debian package to the staging area in linux_make/build, so that it can be used by 3rd party package maintainers on any kind of Linux system to build packages with exactly the same contents as the official Debian package created with tar_em_up.sh -B.
To these ends, the extra staging at the beginning of the deb target in linux_make/Makefile has been moved to a separate debstage target. The other targets of tar_em_up are unchanged. In particular, tar_em_up.sh -B, -b, -F, -f etc. will all work exactly as before.
In addition, the debuild packaging system build was adjusted to use tar_em_up.sh -B -n now. I also have an Arch PKGBUILD using tar_em_up.sh -B -n ready to be submitted to the Arch User Repositories once this is merged.
Finally, linux_make/Makefile was modified to add the missing arduino folder to the tarball package (tar_em_up.sh -F).
Tested on Ubuntu and Arch by comparing the package contents of tar_em_up.sh -B, tar_em_up.sh -F and the Arch package before and after this changeset, as well as Launchpad debuild test builds for both Trusty (14.04) and Xenial (16.04). All looking good, so this is ready to be merged.
This modifies
tar_em_up.sh -B -n
to add all the extra files of the Debian package to the staging area inlinux_make/build
, so that it can be used by 3rd party package maintainers on any kind of Linux system to build packages with exactly the same contents as the official Debian package created withtar_em_up.sh -B
.To these ends, the extra staging at the beginning of the
deb
target inlinux_make/Makefile
has been moved to a separatedebstage
target. The other targets oftar_em_up
are unchanged. In particular,tar_em_up.sh -B
,-b
,-F
,-f
etc. will all work exactly as before.In addition, the debuild packaging system build was adjusted to use
tar_em_up.sh -B -n
now. I also have an Arch PKGBUILD usingtar_em_up.sh -B -n
ready to be submitted to the Arch User Repositories once this is merged.Finally,
linux_make/Makefile
was modified to add the missing arduino folder to the tarball package (tar_em_up.sh -F
).Tested on Ubuntu and Arch by comparing the package contents of
tar_em_up.sh -B
,tar_em_up.sh -F
and the Arch package before and after this changeset, as well as Launchpad debuild test builds for both Trusty (14.04) and Xenial (16.04). All looking good, so this is ready to be merged.