Skip to content

Commit 69aa5a4

Browse files
committed
fix(ci): run distclean before makepkg
1 parent 2c250ae commit 69aa5a4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

assets/PKGBUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ build() {
2222

2323
cd "$USR_HOME"/emacs
2424

25-
make distclean
2625
[[ -x configure ]] || (./autogen.sh git && ./autogen.sh autoconf)
2726

2827
local _conf=(

scripts/build-artifacts.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ chown -R "$USR":"$USR" emacs
1313
# Create artifacts
1414
MAKEFLAGS="-j$(nproc)"
1515
export MAKEFLAGS
16+
17+
pushd emacs || exit
18+
su-exec "$USR" make distclean
19+
popd || exit
1620
su-exec "$USR" makepkg
1721

1822
# Unpack artifacts

0 commit comments

Comments
 (0)