From f15e18814a3700c66e9feabadc16959c5d4d31c9 Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Wed, 6 Nov 2019 12:30:48 +0000 Subject: [PATCH] Remove all dotfiles from the docs --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 62a29f2..b9f2d4d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -177,8 +177,8 @@ _package-docs() { mkdir -p "$builddir" cp -t "$builddir" -a Documentation - msg2 "Removing doctrees..." - rm -r "$builddir/Documentation/output/.doctrees" + msg2 "Removing unneeded files..." + rm -rv "$builddir"/Documentation/{,output/}.[^.]* msg2 "Moving HTML docs..." local src dst