X-Git-Url: http://git.grml.org/?p=grml-x.git;a=blobdiff_plain;f=debian%2Frules;h=3b4806624a604e7f8b513eb257c921e0b6905789;hp=40263debef24a87ef492da69417d79f64f0fb6d6;hb=3256f1f7cbead262acc175f37e80bbcd8d4225c5;hpb=8e75e2d898a3b5aa46374b473a5227f0f016318d diff --git a/debian/rules b/debian/rules index 40263de..3b48066 100755 --- a/debian/rules +++ b/debian/rules @@ -9,40 +9,41 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -build: build-stamp +build: + make clean + make doc build-stamp: dh_testdir - # Add here commands to compile the package. touch build-stamp clean: dh_testdir dh_testroot - rm -f build-stamp + rm -f build-stamp html-stamp man-stamp # Add here commands to clean up after the build process. + make clean dh_clean install: build dh_testdir dh_testroot dh_clean -k - dh_installdirs etc/init.d usr/bin - # usr/X11R6/lib/X11/xkb/rules/ + dh_installdirs etc/X11 usr/bin usr/share/grml # Add here commands to install the package into debian/grml-x. install -m 755 grml-x debian/grml-x/usr/bin/grml-x - cp -r etc/X11/ debian/grml-x/etc/ - cp -r etc/zsh/ debian/grml-x/etc/ - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. + cp -a etc/X11/* debian/grml-x/etc/X11/ + cp -a usr_share_grml/zsh/ debian/grml-x/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