www/Makefile

Tue, 07 May 2024 14:11:31 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 07 May 2024 14:11:31 +0200
changeset 732
b0e99e30a008
parent 675
825210ba2707
permissions
-rw-r--r--

Save one devices loop when handling a 2413 device.

# Makefile for thermferm
# Copyright (c) 2024 by M. Broek.

include ../Makefile.global

SRC		= $(wildcard *.php)
SUB		= version.php.in images/* css/* jqwidgets/* jqwidgets/styles/* \
		  jqwidgets/styles/images/* jqwidgets/globalization/* js/* \
		  includes/*
OTHER		= Makefile



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

.c.o:
		${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<

all:

clean:
		rm -f version.php

install:

#${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css ${WWWDIR}/fpdf \
#			${WWWDIR}/fpdf/font ${WWWDIR}/ispindel \
#			${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/
#		${INSTALL} -d -g 314 -o 314 -m 0777 ${WWWDIR}/run
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/brews
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/fermentation
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/co2pressure
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/ispindel
#		${INSTALL} -g 314 -o 314 -m 0644 ${SRC} ${WWWDIR}/
#		${INSTALL} -g 314 -o 314 -m 0644 version.php ${WWWDIR}/
#		${INSTALL} -g 314 -o 314 -m 0644 css/* ${WWWDIR}/css/
#		${INSTALL} -g 314 -o 314 -m 0644 images/* ${WWWDIR}/images/
#		${INSTALL} -g 314 -o 314 -m 0644 includes/* ${WWWDIR}/includes/
#		${INSTALL} -g 314 -o 314 -m 0644 ispindel/* ${WWWDIR}/ispindel/
#		cp -r jqwidgets/* ${WWWDIR}/jqwidgets/
#		chown -R 314:314 ${WWWDIR}/jqwidgets
#		cp -r -p fpdf/* ${WWWDIR}/fpdf/
#		chown -R 314:314 ${WWWDIR}/fpdf
#		${INSTALL} -g 314 -o 314 -m 0644 js/* ${WWWDIR}/js/

filelist:	Makefile
		BASE=`pwd`; \
		BASE=`basename $${BASE}`; \
		(for f in ${SRC} ${SUB} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist

depend:

mercurial