blob: e35cfec135b4fda8a26c157624ceeb76e5060e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/make -f
%:
dh ${@}
execute_after_dh_auto_clean:
# remove generated files
rm -f src/core/compat.hh
rm -f src/core/log_errstr.c
for file in $$(find . -type f -name "*.in"); \
do \
rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \
done
execute_after_dh_install:
# Removing useless files
rm -f debian/dnsjit/usr/share/doc/dnsjit/LICENSE
rm -f debian/dnsjit/usr/share/doc/dnsjit/README.md
execute_after_dh_installexamples:
# Moving examples
mkdir -p debian/dnsjit/usr/share/doc/dnsjit/examples
mv debian/dnsjit/usr/share/doc/dnsjit/*.lua debian/dnsjit/usr/share/doc/dnsjit/examples
|