bin-dir := usr/bin
doc-dir := usr/share/doc/$(debpkg)
-
configure: configure-stamp
configure-stamp:
dh_testdir
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
- $(MAKE) ${pkg}
+ $(MAKE) _${pkg}
touch build-stamp
clean:
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
# 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