+# Sample debian/rules that uses debhelper.
+# 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.
+ # Add here commands to configure the package.
+ if [ -f configure ]; then \
+ mv -f configure configure.orig; \
+ autoreconf -vi && ./configure --prefix=/usr
+ # Add here commands to compile the package.
+ rm -f build-stamp configure-stamp
+ if [ -f Makefile ]; then \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+# Build architecture-independent files here.
+binary-indep: build install libdlstds-dev
+# We have nothing to do by default.
+# Build architecture-dependent files here.
+binary-arch: build install libdlstds
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure libdlstds libdlstds-dev