From: rohieb Date: Mon, 21 Jul 2008 17:14:09 +0000 (+0200) Subject: fixed lintian errors, removed unused comments and targets in debian rules file X-Git-Tag: REL_3.0-beta~7 X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/e36023bab92375bc0e032ee22007e80cde690fdf?ds=sidebyside fixed lintian errors, removed unused comments and targets in debian rules file --- diff --git a/debian/control b/debian/control index 8f43e87..95ba731 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,16 @@ Source: iserv-room-reservation Section: non-free/web Priority: optional -Maintainer: Roland Hieber +Maintainer: Roland Hieber (Package Signing Key) Build-Depends: debhelper (>= 5) Standards-Version: 3.7.2 Package: iserv-room-reservation Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, iserv-portal (>= 8.07.11) +Depends: iserv-portal (>= 8.07.11) Description: Raumbelegungsplan-Modul für IServ Das Raumbelegungsplan-Modul für den IDesk bietet eine effektive Nutzungs- verwaltung der Räume innerhalb öffentlicher Institutionen. IServ-Benutzer - können Räume buchen, wenn sie diese benötigen und ebenso alle bisher gebuchten - Räume einsehen. Administratoren ist es möglich, Buchungen zu löschen sowie - wiederkehrende Buchungen zu erstellen. + können Räume buchen, wenn sie diese benötigen und ebenso alle bisher + gebuchten Räume einsehen. Administratoren ist es möglich, Buchungen zu + löschen sowie wiederkehrende Buchungen zu erstellen. diff --git a/debian/postinst b/debian/postinst index de030c2..2b042d9 100755 --- a/debian/postinst +++ b/debian/postinst @@ -3,3 +3,4 @@ chkdb -r chkpriv chklocale +#DEBHELPER# diff --git a/debian/prerm b/debian/prerm index c39b7de..da9ebee 100755 --- a/debian/prerm +++ b/debian/prerm @@ -2,6 +2,8 @@ psql -c "DELETE FROM log_module WHERE module='Room Reservation Schedule';" chklocale +#DEBHELPER# + @echo @echo If you do not need the SQL tables anymore, remove them by running @echo ' psql -c "DROP TABLE mod_roomreservation_bookings;"' diff --git a/debian/rules b/debian/rules index 821db46..4b4d190 100755 --- a/debian/rules +++ b/debian/rules @@ -1,88 +1,56 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. +# rules for debuild -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - - -#configure: configure-stamp -#configure-stamp: -# dh_testdir -# # Add here commands to configure the package. -# -# touch configure-stamp -# - -build: build-stamp - -build-stamp: - #configure-stamp +# needed for lintian +build: dh_testdir - # Add here commands to compile the package. - $(MAKE) - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - #-$(MAKE) clean - - dh_clean - -install: build +binary-indep: dh_testdir dh_testroot dh_clean -k dh_installdirs - # Add here commands to install the package into debian/iserv-room-reservation. $(MAKE) DESTDIR=$(CURDIR)/debian/iserv-room-reservation install + + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + #dh_installexamples + ##dh_install + ##dh_installmenu + ##dh_installdebconf + ##dh_installlogrotate + ##dh_installemacsen + ##dh_installpam + ##dh_installmime + ##dh_python + #dh_installinit + #dh_installcron + #dh_installinfo + #dh_installman + #dh_link + #dh_strip + dh_compress + dh_fixperms + ##dh_perl + ##dh_makeshlibs + dh_installdeb + #dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# needed for lintian +binary-arch: +binary: binary-indep -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. +clean: + dh_testdir + dh_testroot + -$(MAKE) clean + dh_clean -# Build architecture-dependent files here. -binary-arch: build install -# dh_testdir -# dh_testroot -# dh_installchangelogs -# dh_installdocs -# dh_installexamples -## dh_install -## dh_installmenu -## dh_installdebconf -## dh_installlogrotate -## dh_installemacsen -## dh_installpam -## dh_installmime -## dh_python -## dh_installinit -## dh_installcron -## dh_installinfo -# dh_installman -# dh_link -# dh_strip -# dh_compress -# dh_fixperms -## dh_perl -## dh_makeshlibs -# dh_installdeb -# dh_shlibdeps -# dh_gencontrol -# dh_md5sums -# dh_builddeb +.PHONY: build clean binary-indep binary install -binary: binary-indep - #binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure