To clone the submodules:
git submodule update --init --recursive
To update the submodules:
git submodule foreach --recursive git pull
Build the debian package:
cd slurmgit checkout slurm-18.08ln -s ../debian .dch -n(if you want to increase the version number)debian/rules buildfakeroot debian/rules binary