check.mk 415 Bytes
Newer Older
1
ifeq (,$(MKIMAGE_PROFILES))
Michael Shigorin's avatar
Michael Shigorin committed
2 3 4 5 6 7 8 9 10 11
$(error this makefile is designed to be included in toplevel one)
endif

check:
	@find sub.in features.in \
		-path '*scripts.d/*' \
		\! \( -perm 755 -o -name .gitignore \) \
	| while read line; do \
		echo "chmod 755 $$line"; \
	done
12 13 14 15 16 17
	@find features.in -maxdepth 1 -type d \
	| while read dir; do \
		if [ ! -s "$$dir/README" ]; then \
			echo "$$dir: missing README"; \
		fi; \
	done