Makefile

Wed, 27 Mar 2019 12:50:57 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 27 Mar 2019 12:50:57 +0100
changeset 334
26c6f8e5d58e
parent 0
033898178630
permissions
-rw-r--r--

Added webcam_url and webcam_light fields to the mon_fermenters database table. Currently these fields need to be set using phpMyAdmin or another tool. If the webcam_url field is set, then on the mon_fermenter webpage a button is added to show a webcam page.

# Top-level makefile for bms.

include Makefile.global

OTHER		= ChangeLog COPYING Makefile Makefile.global.in aclocal.m4 \
		  config.h.in configure configure.ac
TARFILE		= ${PACKAGE}-${VERSION}.tar.bz2

###############################################################################


all depend:
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;

install:
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;

dist tar:	${TARFILE}

clean:
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;
		rm -f .filelist core ${TARFILE} config.h Makefile.global

${TARFILE}:	.filelist
		cd ..; ln -s ${PACKAGE} ${PACKAGE}-${VERSION} ; rm -f ${TARFILE}; \
		${TAR} cvTf ./${PACKAGE}-${VERSION}/.filelist - | bzip2 >${TARFILE} ; \
		rm -f ${PACKAGE}-${VERSION}

.filelist filelist:
		(for f in ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$$f; done) >.filelist
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} filelist && cat filelist >>../.filelist) || exit; done;

mercurial