maint.mk: restore functionality removed by recent change