A part of code take from https://github.com/h-v-smacker/technic, make you install sawmill without change the technic mod
First, install the techic
mod to your mod dir:
cd /your/path/to/modpath
git clone https://github.com/minetest-mods/technic
Then, install this mod to the mod path
git clone https://github.com/Emojigit/technic_sawmill
Enjoy!