mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 23:07:59 +00:00
fb336d60f1
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@146 dd492736-c11a-0410-ad51-8c26713eaf7f
21 lines
408 B
Makefile
21 lines
408 B
Makefile
PROGDIR = $(DESTDIR)/usr/share/weather-frontend
|
|
CONFDIR = /etc/weatherstation/
|
|
|
|
DIR=./
|
|
|
|
install:
|
|
@ echo -n "Frontend wird installiert"
|
|
@ install -d $(PROGDIR)
|
|
for i in $(DIR)/*; do \
|
|
if [ -d $$i ]; then \
|
|
install -d $(PROGDIR)/$$i \
|
|
$(MAKE) DIR=$$i; \
|
|
else \
|
|
install $$i $(PROGDIR)/$(DIR); \
|
|
fi; \
|
|
done
|
|
@ install -d $(CONFDIR)
|
|
@ install frontend.conf $(CONFDIR)
|
|
@ echo "done"
|
|
|