Skip to content

Commit

Permalink
imagemagick: Explicitly delete doc directory
Browse files Browse the repository at this point in the history
Use of `EXCLUDES` is deprecated.

`--disable-docs` also does not build the wanted manual pages.

`DOCDIR` cannot be used, as `/usr/share/doc/ImageMagick-6` is used by
ImageMagick (which is strange, because we should pathe the name to
configure).
  • Loading branch information
pmenzel committed Dec 16, 2019
1 parent 9bad7bf commit 9ecdd4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imagemagick.be0
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ SRCURL[0]="https://github.com/ImageMagick/ImageMagick6/archive/${PKGVERSION/p/-}

# PATCHURL[0]=""

EXCLUDE="^${DATADIR}/doc"

#mee_patch() {
# bee_patch
#}
Expand All @@ -25,6 +23,8 @@ EXCLUDE="^${DATADIR}/doc"
#}

mee_install_post() {
start_cmd rm -rf ${D}/${DATADIR}/doc

local tgt=${D}/etc/ImageMagick-6/policy.xml
cp -p -v ${tgt} ${tgt}.raw
xmllint --format ${tgt}.raw > ${tgt}
Expand Down

0 comments on commit 9ecdd4a

Please sign in to comment.