[emacs] build in sources

This commit is contained in:
Gwenhael Le Moine 2022-12-22 12:59:52 +01:00
parent c406b1b705
commit bab6c5ac73
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -98,7 +98,8 @@ rm lisp/loaddefs.el # https://lists.gnu.org/r/emacs-devel/2021-04/ms
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)"
mkdir -p $TMP/$PKGNAM #mkdir -p $TMP/$PKGNAM
cp -R $REPOSITORY $TMP/$PKGNAM
cd $TMP/$PKGNAM || exit 1 cd $TMP/$PKGNAM || exit 1
# tar xvf $CWD/$PKGNAM-$TARBALLVER.tar.xz || exit 1 # tar xvf $CWD/$PKGNAM-$TARBALLVER.tar.xz || exit 1
@ -111,7 +112,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+ -exec chmod 644 {} \+
SRCDIR=$REPOSITORY #SRCDIR=$REPOSITORY
SRCDIR=.
EMACS_VERSION=$(grep "AC_INIT(\[GNU Emacs\]," $SRCDIR/configure.ac | cut -d, -f 2 | tr -d \ | tr -d [ | tr -d ]) EMACS_VERSION=$(grep "AC_INIT(\[GNU Emacs\]," $SRCDIR/configure.ac | cut -d, -f 2 | tr -d \ | tr -d [ | tr -d ])
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \