diff --git a/x11-libs/libxau/libxau-1.0.8.recipe b/x11-libs/libxau/libxau-1.0.8.recipe index 0998b0b47..02b904e5c 100644 --- a/x11-libs/libxau/libxau-1.0.8.recipe +++ b/x11-libs/libxau/libxau-1.0.8.recipe @@ -56,21 +56,21 @@ defineDebugInfoPackage libxau$secondaryArchSuffix \ BUILD() { autoreconf -vfi - runConfigure ./configure + runConfigure --omit-dirs docDir ./configure --docdir=$developDocDir make $jobArgs } INSTALL() { make install - install -d -m 755 "$docDir" - install -m 644 -t "$docDir" README + install -d -m 755 "$developDocDir" + install -m 644 -t "$developDocDir" README prepareInstalledDevelLib libXau fixPkgconfig if [ -n "$secondaryArchSuffix" ]; then - rm -rf $documentationDir/man + rm -rf $manDir maybe_manDir_man3= else maybe_manDir_man3=$manDir/man3 @@ -79,6 +79,9 @@ INSTALL() packageEntries devel \ $developDir \ $maybe_manDir_man3 + +# remove the empty $documentationDir on primary architecture + rm -fr $documentationDir } TEST()