currently packages are built by copying files into a DEBIAN directory and calling dpkg-deb -b on it. some tasks that are repeated over many of the make.py scripts that would also be doable with the usual debian packaging mechanisms are
debuild/dpkg-buildpackage can automatically clean the build directory before the actual build steps, so removing and recreating temp directories by hand could be saved
dh_install automatically takes care of installing files with the same permissions/mode they had in the source, so copying and calling chmod could be saved
debian packaging mechanisms also take care to automagically put {pre,post}{inst,rm} files in the right places if they are in the debian directory of the source, so copying them manually to the DEBIAN directory could be saved as well
i think these changes would go especially well in combination with also implementing the changes proposed in #50, but i also respect that you are the maintainer and so i think you should be the one to decide on the general direction of the project. again, i'd be happy to provide pull requests if you're willing to go in this direction :-)
currently packages are built by copying files into a
DEBIAN
directory and callingdpkg-deb -b
on it. some tasks that are repeated over many of themake.py
scripts that would also be doable with the usual debian packaging mechanisms aredebuild
/dpkg-buildpackage
can automatically clean the build directory before the actual build steps, so removing and recreating temp directories by hand could be saveddh_install
automatically takes care of installing files with the same permissions/mode they had in the source, so copying and calling chmod could be saved{pre,post}{inst,rm}
files in the right places if they are in thedebian
directory of the source, so copying them manually to theDEBIAN
directory could be saved as welli think these changes would go especially well in combination with also implementing the changes proposed in #50, but i also respect that you are the maintainer and so i think you should be the one to decide on the general direction of the project. again, i'd be happy to provide pull requests if you're willing to go in this direction :-)