Makefile
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@146 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
parent
1a37644c52
commit
fb336d60f1
|
|
@ -1,2 +1,20 @@
|
||||||
|
PROGDIR = $(DESTDIR)/usr/share/weather-frontend
|
||||||
|
CONFDIR = /etc/weatherstation/
|
||||||
|
|
||||||
|
DIR=./
|
||||||
|
|
||||||
install:
|
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"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue