Move generate-patchlist.sh script into folder debian/tools, integrate patch-list-template.diff into the shell script
Use gitapply.sh to apply all the patches
Fallback to 'git apply' if available to speed up applying the patches.