X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=ca1b5ad3e1afe0afed340a80bf28302f86e58458;hb=08c2f2e5ffd7f612d6c7a02de832d1293bffefbf;hp=152c7f98e4311f695a53354c746e6690d9fac640;hpb=fdc8e8a0089fc457478464f8cbe4b89a813b27fc;p=grml-etc-core.git diff --git a/debian/rules b/debian/rules index 152c7f9..ca1b5ad 100755 --- a/debian/rules +++ b/debian/rules @@ -17,30 +17,34 @@ clean: dh_testdir dh_testroot rm -f build-stamp - - dh_clean + dh_prep rm -rf debian/grml-etc-core/ + (cd $(CURDIR)/doc && $(MAKE) clean) install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs - # Add here commands to install the package into debian/grml-etc-core. cp -a etc/ debian/grml-etc-core/ - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. + cp -a usr_share_grml/ debian/grml-etc-core/usr/share/grml # Build architecture-dependent files here. binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs + (cd $(CURDIR)/doc && $(MAKE) all) + dh_installman $(CURDIR)/doc/grmlzshrc.5 dh_compress + mkdir -p debian/grml-etc-core/usr/share/lintian/overrides/ + cp -av debian/overrides debian/grml-etc-core/usr/share/lintian/overrides/grml-etc-core dh_fixperms dh_installdeb #find debian/grml-etc-core/etc -type f ! -name \*.xpm ! -name \*.png -print | \