There's an excellent book about defence construction in Scotland:
If Hitler Comes - Preparing for Invasion Scotland 1940. Gordon Barclay, Birlinn 2013
Very detailed indeed although little about civilian input. There are, however, full references given which might lead to further reading. Highly recommended.