mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 23:07:59 +00:00
packaging
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@141 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
Vendored
+2
-2
@@ -29,7 +29,7 @@ Description: Checks if the ELV-Sensors are OK
|
|||||||
If not, it send's a Mail.
|
If not, it send's a Mail.
|
||||||
|
|
||||||
Package: weatherstation-database
|
Package: weatherstation-database
|
||||||
Architecture: any
|
Architecture: all
|
||||||
Depends: ${shlibs:Depends}
|
Depends: ${shlibs:Depends}
|
||||||
Description: Database-Structure for the ELV-Station
|
Description: Database-Structure for the ELV-Station
|
||||||
Contains a Dump for the ELV-Weatherstation.
|
Contains a Dump for the ELV-Weatherstation.
|
||||||
@@ -38,7 +38,7 @@ Description: Database-Structure for the ELV-Station
|
|||||||
You must import it to your Postgres-Server
|
You must import it to your Postgres-Server
|
||||||
|
|
||||||
Package: weatherstation-frontend
|
Package: weatherstation-frontend
|
||||||
Architecture: any
|
Architecture: all
|
||||||
Depends: ${shlibs:Depends}, apache | apache2, php4 | php5
|
Depends: ${shlibs:Depends}, apache | apache2, php4 | php5
|
||||||
Description: Webfrontend for the ELV-Station
|
Description: Webfrontend for the ELV-Station
|
||||||
A Webfrontend to show the Data from the ELV-Station
|
A Webfrontend to show the Data from the ELV-Station
|
||||||
|
|||||||
Vendored
+11
-11
@@ -63,16 +63,16 @@ clean:
|
|||||||
|
|
||||||
install: install-indep install-arch
|
install: install-indep install-arch
|
||||||
install-indep:
|
install-indep:
|
||||||
#dh_testdir
|
dh_testdir
|
||||||
#dh_testroot
|
dh_testroot
|
||||||
#dh_clean -k -i
|
dh_clean -k -i
|
||||||
#dh_installdirs -i
|
dh_installdirs -i
|
||||||
|
|
||||||
# Add here commands to install the indep part of the package into
|
# Add here commands to install the indep part of the package into
|
||||||
# debian/<package>-doc.
|
# debian/<package>-doc.
|
||||||
#INSTALLDOC#
|
#INSTALLDOC#
|
||||||
|
|
||||||
##dh_install -i
|
dh_install -i --sourcedir debian/weatherstation/
|
||||||
|
|
||||||
install-arch:
|
install-arch:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
@@ -103,7 +103,7 @@ binary-common:
|
|||||||
# dh_python
|
# dh_python
|
||||||
cp $(CURDIR)/debian/weatherstation/etc/init.d/weatherd $(CURDIR)/debian/weatherstation-weatherd.init
|
cp $(CURDIR)/debian/weatherstation/etc/init.d/weatherd $(CURDIR)/debian/weatherstation-weatherd.init
|
||||||
dh_installinit --no-start -pweatherstation-weatherd
|
dh_installinit --no-start -pweatherstation-weatherd
|
||||||
# dh_installcron
|
dh_installcron -pweatherstation-checksensor -pweatherstation-chart
|
||||||
# dh_installinfo
|
# dh_installinfo
|
||||||
# dh_installman
|
# dh_installman
|
||||||
dh_link $(PACKS)
|
dh_link $(PACKS)
|
||||||
@@ -111,19 +111,19 @@ binary-common:
|
|||||||
dh_compress $(PACKS)
|
dh_compress $(PACKS)
|
||||||
dh_fixperms $(PACKS)
|
dh_fixperms $(PACKS)
|
||||||
# dh_perl
|
# dh_perl
|
||||||
dh_makeshlibs -pweatherstation-weatherd -pweatherstation-checksensor -pweatherstation-chart -pweatherstation-database -pweatherstation-frontend
|
dh_makeshlibs $(PACKS)
|
||||||
dh_installdeb -pweatherstation-weatherd -pweatherstation-checksensor -pweatherstation-chart -pweatherstation-database -pweatherstation-frontend
|
dh_installdeb $(PACKS)
|
||||||
dh_shlibdeps -pweatherstation-weatherd -pweatherstation-checksensor -pweatherstation-chart -pweatherstation-database -pweatherstation-frontend
|
dh_shlibdeps $(PACKS)
|
||||||
dh_gencontrol $(PACKS)
|
dh_gencontrol $(PACKS)
|
||||||
dh_md5sums $(PACKS)
|
dh_md5sums $(PACKS)
|
||||||
dh_builddeb $(PACKS)
|
dh_builddeb $(PACKS)
|
||||||
# Build architecture independant packages using the common target.
|
# Build architecture independant packages using the common target.
|
||||||
binary-indep: build-indep install-indep
|
binary-indep: build-indep install-indep
|
||||||
#$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
|
$(MAKE) -f debian/rules DH_OPTIONS=-i PACKS="-pweatherstation-database -pweatherstation-frontend" binary-common
|
||||||
|
|
||||||
# Build architecture dependant packages using the common target.
|
# Build architecture dependant packages using the common target.
|
||||||
binary-arch: build-arch install-arch
|
binary-arch: build-arch install-arch
|
||||||
$(MAKE) -f debian/rules DH_OPTIONS=-s PACKS="-pweatherstation-weatherd -pweatherstation-checksensor -pweatherstation-chart -pweatherstation-database -pweatherstation-frontend" binary-common
|
$(MAKE) -f debian/rules DH_OPTIONS=-s PACKS="-pweatherstation-weatherd -pweatherstation-checksensor -pweatherstation-chart" binary-common
|
||||||
|
|
||||||
binary: binary-arch binary-indep
|
binary: binary-arch binary-indep
|
||||||
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
|
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
|
||||||
|
|||||||
Vendored
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#
|
||||||
|
# Regular cron jobs for the weatherstation package
|
||||||
|
#
|
||||||
|
*/15 * * * * weatherstation /usr/bin/chart
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#
|
||||||
|
# Regular cron jobs for the weatherstation package
|
||||||
|
#
|
||||||
|
*/15 * * * * weatherstation /usr/bin/checksensor
|
||||||
Reference in New Issue
Block a user