mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 14:58:00 +00:00
Makefile
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@146 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
@@ -1,2 +1,20 @@
|
||||
PROGDIR = $(DESTDIR)/usr/share/weather-frontend
|
||||
CONFDIR = /etc/weatherstation/
|
||||
|
||||
DIR=./
|
||||
|
||||
install:
|
||||
@ echo "noch net implementiert"
|
||||
@ 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user