X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fdebian%2Frules;h=5a9b10e923599548f0f3adb7e698ad455d79e417;hb=d105cb07bf6c21c336a4baeccc181d9c83265351;hp=f5e8962dcdea56a4a771fa0e3d74bd673faa5cbe;hpb=dfb87dec7895290e88e83b1bd5069189cd141eca;p=gosa.git diff --git a/gosa-core/debian/rules b/gosa-core/debian/rules index f5e8962dc..5a9b10e92 100755 --- a/gosa-core/debian/rules +++ b/gosa-core/debian/rules @@ -1,79 +1,9 @@ #!/usr/bin/make -f -# -*- makefile -*- -# debian/rules file to build GOsa packages. -# -# 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. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +%: + dh $@ -# This has to be exported to make some magic below work. -export DH_OPTIONS +override_dh_compress: + dh_compress + gzip -d debian/gosa/usr/share/doc/gosa/gosa.conf.gz -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - -build: patch build-indep - #************************************************* - #* Building GOsa into a Debian/GNU Linux Package * - #* please stand by * - #************************************************* - -build-indep: build-indep-stamp -build-indep-stamp: configure-stamp - touch $@ - -clean: clean-patched unpatch -clean-patched: - dh_testdir - dh_testroot - rm -f build-indep-stamp configure-stamp - - dh_clean - -unpatch: - dpatch deapply-all - rm -rf patch-stamp debian/patched - -install: install-indep -install-indep: - dh_testdir - dh_testroot - dh_clean -k -i - dh_installdirs -i - dh_install -i --exclude COPYING - -binary-common: - dh_testdir - dh_testroot - install -D -m 644 debian/gosa.lintian-overrides debian/gosa/usr/share/lintian/overrides/gosa - dh_installchangelogs Changelog - dh_installdocs - dh_installexamples - dh_installmenu - dh_installdebconf - dh_installman -pgosa-desktop contrib/gosa.1 - dh_installman -pgosa contrib/gosa.conf.5 - dh_strip - dh_compress -Xgosa.conf contrib/gosa.conf.5 - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -patch: patch-stamp -patch-stamp: - dpatch apply-all - dpatch cat-all >patch-stamp - -binary-indep: build-indep install-indep - $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common - -binary: binary-indep -.PHONY: build clean binary-indep binary install install-indep configure