summary refs log tree commit diff
path: root/debian/implicit
diff options
context:
space:
mode:
Diffstat (limited to 'debian/implicit')
-rw-r--r--debian/implicit8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/implicit b/debian/implicit
index 20909d7..a09db2e 100644
--- a/debian/implicit
+++ b/debian/implicit
@@ -38,6 +38,14 @@ deb-checkuid:
 	@gzip -9 debian/$*/usr/share/doc/$*/changelog*
 %.deb-docs-docs:
 	@for i in `cat debian/$*.docs 2>/dev/null || :`; do \
+	  if test -d $$i; then \
+	    sh -cx "install -d -m0755 debian/$*/usr/share/doc/$*/$${i##*/}" && \
+	    for j in $$i/*; do \
+	      sh -cx "install -m0644 $$j \
+	        debian/$*/usr/share/doc/$*/$${i##*/}/" || exit 1; \
+	    done || exit 1; \
+	    continue; \
+	  fi; \
 	  sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \
 	done
 	@test ! -r debian/$*.README.Debian || \