Added test for config files to the Makefile

Config files in the root of the repo makes some tests to fail.
This commit is contained in:
Salvador E. Tropea 2020-07-31 11:52:42 -03:00
parent 2c24714086
commit bb5750df13
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ CWD := $(abspath $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
USER_ID=$(shell id -u)
GROUP_ID=$(shell id -g)
ifneq ("$(wildcard *.yaml)","")
$(error Move away any config file)
endif
deb:
perl debian/make_postinst.pl > debian/postinst
chmod +x debian/postinst