fix: bug when resgistering documents ending with index.html
fix: .depend and broken compilation for some versions of Make