[emacs] build in sources
This commit is contained in:
parent
c406b1b705
commit
bab6c5ac73
1 changed files with 4 additions and 2 deletions
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue