Index: Makefile.in
--- Makefile.in.orig	2017-03-26 19:34:07.146543000 +0200
+++ Makefile.in	2017-03-26 19:34:47.406727000 +0200
@@ -367,10 +367,10 @@
 SUBDIRS = \
 	libasn1parser libasn1fix	\
 	libasn1print libasn1compiler	\
-	skeletons examples \
-	doc tests asn1c
+	skeletons \
+	doc asn1c
 
-docsdir = $(datadir)/doc/asn1c
+docsdir = $(datadir)/asn1c/doc
 docs_DATA = README.md INSTALL.md FAQ ChangeLog BUGS TODO
 EXTRA_DIST = README.md INSTALL.md FAQ LICENSE BUGS
 all: config.h
Index: doc/Makefile.in
--- doc/Makefile.in.orig	2017-03-26 19:34:07.147060000 +0200
+++ doc/Makefile.in	2017-03-26 19:35:03.086119000 +0200
@@ -336,7 +336,7 @@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 SUBDIRS = docsrc man
-docsdir = $(datadir)/doc/asn1c
+docsdir = $(datadir)/asn1c/doc
 docs_DATA = $(srcdir)/asn1c-*.pdf
 EXTRA_DIST = $(srcdir)/asn1c-*.pdf
 all: all-recursive
