From 963fdb60064bf44de5bc0a4a45c69017a617f1df Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Sun, 12 Feb 2017 18:19:58 +0100 Subject: Install examples. --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 2bfc3eeb..52551d70 100755 --- a/debian/rules +++ b/debian/rules @@ -19,5 +19,8 @@ override_dh_auto_build: make -C build doxygen dh_auto_build - +override_dh_auto_install: + find build/example -executable -type f -exec sh -c 'install -D $$0 debian/tmp/usr/bin/libgudhi-example-$$(basename $$0)' {} \; + find example -type f \( -name '*.cpp' -o \( -name '*.txt' -a ! -iname 'cmake*' \) \) -exec sh -c 'install -D -m 644 $$0 debian/tmp/usr/share/doc/libgudhi-examples/$$0' {} \; + dh_auto_install -- cgit v1.2.3