X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fdebian%2Frules;h=5a9b10e923599548f0f3adb7e698ad455d79e417;hb=d105cb07bf6c21c336a4baeccc181d9c83265351;hp=b31393d00fc9f87cc7381c0b75a182da42db40dc;hpb=0b3ded76da5b8cb12a6fc062b968fdcb86b1e7b0;p=gosa.git diff --git a/gosa-core/debian/rules b/gosa-core/debian/rules index b31393d00..5a9b10e92 100755 --- a/gosa-core/debian/rules +++ b/gosa-core/debian/rules @@ -1,81 +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 - -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 - dh_strip +override_dh_compress: dh_compress - # This is an ugly workaround to preserve gosa.conf from beeing compressed. Excluding it - # above does not work, because the manual page will match the expression, too. gzip -d debian/gosa/usr/share/doc/gosa/gosa.conf.gz - 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