docker support

This commit is contained in:
Olof Hagsand 2016-02-26 19:47:30 +01:00
parent 6366fc631e
commit eb93d82caa
18 changed files with 370 additions and 125 deletions

View file

@ -41,7 +41,7 @@ SHELL = /bin/sh
SUBDIRS = lib apps include etc
.PHONY: doc all clean depend $(SUBDIRS) install loc TAGS .config.status
.PHONY: doc all clean depend $(SUBDIRS) install loc TAGS .config.status docker
all: $(SUBDIRS) clicon.conf.cpp clicon.mk
@ -98,6 +98,10 @@ distclean:
for i in $(SUBDIRS) doc example; \
do (cd $$i && $(MAKE) $(MFLAGS) $@); done
docker:
for i in docker; \
do (cd $$i && $(MAKE) $(MFLAGS) $@); done
# Lines of code
loc:
find . -name '*.[chyl]' -type f | xargs wc -l | tail -1 2> /dev/null