forked from kiss-community/repo
libXmeta: Keep around aclocal
This commit is contained in:
parent
8a1debca8a
commit
c528894622
|
@ -1,8 +1,11 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
CFLAGS_FOR_BUILD=-fPIC \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
--without-xmlto \
|
||||||
|
--disable-specs \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
@ -14,7 +17,18 @@ make DESTDIR="$1" install
|
||||||
mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
|
mv -f "$1/usr/share/pkgconfig" "$1/usr/lib"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# We need to keep this around.
|
||||||
|
! [ -d "$1/usr/share/aclocal" ] || {
|
||||||
|
mkdir -p "$1/usr/share2"
|
||||||
|
mv -f "$1/usr/share/aclocal" "$1/usr/share2"
|
||||||
|
}
|
||||||
|
|
||||||
# Remove library documentation.
|
# Remove library documentation.
|
||||||
# False positive.
|
# False positive.
|
||||||
# shellcheck disable=2115
|
# shellcheck disable=2115
|
||||||
rm -rf "$1/usr/share"
|
rm -rf "$1/usr/share"
|
||||||
|
|
||||||
|
# Restore kept directories.
|
||||||
|
! [ -d "$1/usr/share2" ] || {
|
||||||
|
mv -f "$1/usr/share2" "$1/usr/share"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user