mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 14:58:00 +00:00
building package
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@147 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
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
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/usr/share/doc/weatherstation-database
|
||||
/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
|
||||
|
||||
|
||||
+17
-10
@@ -1,20 +1,27 @@
|
||||
PROGDIR = $(DESTDIR)/usr/share/weather-frontend
|
||||
CONFDIR = /etc/weatherstation/
|
||||
CONFDIR = $(DESTDIR)/etc/weatherstation/
|
||||
|
||||
DIR=./
|
||||
|
||||
install:
|
||||
@ echo -n "Frontend wird installiert"
|
||||
@ echo "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
|
||||
@ if [ `ls -Al $(DIR) | wc -l` -gt 1 ]; then \
|
||||
for i in $(DIR)/*; do \
|
||||
if [ -d $$i ]; then \
|
||||
echo "lege $(PROGDIR)/$$i an"; \
|
||||
install -d $(PROGDIR)/$$i; \
|
||||
$(MAKE) DIR=$$i/; \
|
||||
else \
|
||||
echo "installiere $$i nach $(PROGDIR)/$$i"; \
|
||||
install $$i $(PROGDIR)/$(DIR)/; \
|
||||
fi; \
|
||||
done; \
|
||||
fi
|
||||
@ rm -f $(PROGDIR)/Makefile
|
||||
@ install -d $(CONFDIR)
|
||||
@ install frontend.conf $(CONFDIR)
|
||||
@ echo "done"
|
||||
|
||||
clean:
|
||||
@ echo "nix zu tun"
|
||||
|
||||
Reference in New Issue
Block a user