summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpcl/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpc/rpcl/Makefile.am b/rpc/rpcl/Makefile.am
index 8a8ada4..38b1dbf 100644
--- a/rpc/rpcl/Makefile.am
+++ b/rpc/rpcl/Makefile.am
@@ -21,3 +21,8 @@ block_clnt.c: block.x
block_svc.c: block.x
rpcgen -m -o $(top_builddir)/rpc/rpcl/$@ $^
+
+dist-hook:
+ find $(distdir) -type f \
+ -not -name 'block.x' -not -name 'rpc-pragmas.h' \
+ -not -name 'block_svc.h' -not -name 'Makefile.*' -delete