building package
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@147 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
parent
fb336d60f1
commit
3017c8b0bd
|
|
@ -1,4 +1,4 @@
|
||||||
debian/weatherstation/usr/share/doc/weatherstation-database/COPYING
|
debian/weatherstation/usr/share/doc/weatherstation-database/COPYING
|
||||||
debian/weatherstation/usr/share/doc/weatherstation-database/structure.dump.sql
|
debian/weatherstation/usr/share/doc/weatherstation-database/structure.sql
|
||||||
debian/weatherstation/usr/share/doc/weatherstation-database/reademe
|
debian/weatherstation/usr/share/doc/weatherstation-database/reademe
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/usr/share/doc/weatherstation-database
|
/usr/share/doc/weatherstation-database
|
||||||
/usr/share/doc/weatherstation-database/COPYING
|
/usr/share/doc/weatherstation-database/COPYING
|
||||||
/usr/share/doc/weatherstation-database/structure.dump.sql
|
/usr/share/doc/weatherstation-database/structure.sql
|
||||||
/usr/share/doc/weatherstation-database/reademe
|
/usr/share/doc/weatherstation-database/reademe
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,27 @@
|
||||||
PROGDIR = $(DESTDIR)/usr/share/weather-frontend
|
PROGDIR = $(DESTDIR)/usr/share/weather-frontend
|
||||||
CONFDIR = /etc/weatherstation/
|
CONFDIR = $(DESTDIR)/etc/weatherstation/
|
||||||
|
|
||||||
DIR=./
|
DIR=./
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@ echo -n "Frontend wird installiert"
|
@ echo "Frontend wird installiert ..."
|
||||||
@ install -d $(PROGDIR)
|
@ install -d $(PROGDIR)
|
||||||
|
@ if [ `ls -Al $(DIR) | wc -l` -gt 1 ]; then \
|
||||||
for i in $(DIR)/*; do \
|
for i in $(DIR)/*; do \
|
||||||
if [ -d $$i ]; then \
|
if [ -d $$i ]; then \
|
||||||
install -d $(PROGDIR)/$$i \
|
echo "lege $(PROGDIR)/$$i an"; \
|
||||||
$(MAKE) DIR=$$i; \
|
install -d $(PROGDIR)/$$i; \
|
||||||
|
$(MAKE) DIR=$$i/; \
|
||||||
else \
|
else \
|
||||||
install $$i $(PROGDIR)/$(DIR); \
|
echo "installiere $$i nach $(PROGDIR)/$$i"; \
|
||||||
|
install $$i $(PROGDIR)/$(DIR)/; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done; \
|
||||||
|
fi
|
||||||
|
@ rm -f $(PROGDIR)/Makefile
|
||||||
@ install -d $(CONFDIR)
|
@ install -d $(CONFDIR)
|
||||||
@ install frontend.conf $(CONFDIR)
|
@ install frontend.conf $(CONFDIR)
|
||||||
@ echo "done"
|
@ echo "done"
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@ echo "nix zu tun"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue