X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Frules;h=0b220c5d926466b49d6b0c2333af2a5b27d2f8db;hb=a443b5ed5e4852221ddb425dcde5616305343dd4;hp=f9f80d2e639764ff35f25b80651e7daaebb1969e;hpb=5d66ace14bf1d859d364e0004335d1a6800e0d40;p=vcs-tree.git diff --git a/debian/rules b/debian/rules index f9f80d2..0b220c5 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,6 @@ debpkg := vcs-tree bin-dir := usr/bin doc-dir := usr/share/doc/$(debpkg) - configure: configure-stamp configure-stamp: dh_testdir @@ -20,7 +19,7 @@ build: build-stamp build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. - $(MAKE) ${pkg} + $(MAKE) _${pkg} touch build-stamp clean: @@ -38,7 +37,8 @@ install: build dh_clean -k # Add here commands to install the package into debian/xlunit. dh_installdirs $(bin-dir) - dh_install ${pkg} $(bin-dir) + dh_install $(pkg) $(bin-dir) + dh_install _$(pkg) $(bin-dir) # Build architecture-independent files here. binary-indep: build install @@ -58,11 +58,13 @@ binary-arch: build install # dh_installmime # dh_installinit # dh_installcron - dh_installman ${pkg}.1 + dh_installman $(pkg).1 + dh_link usr/share/man/man1/$(pkg).1 usr/share/man/man1/_$(pkg).1 # dh_installinfo # dh_undocumented dh_installchangelogs - dh_strip + # don't strip sbcl binary or will remove vcs-tree code + dh_strip -X_$(pkg) dh_compress dh_fixperms # dh_makeshlibs