Skip to content

Commit 9b1dc2c

Browse files
committed
fix: add make distclean before configure
1 parent 053f748 commit 9b1dc2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

assets/PKGBUILD

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ build() {
2222

2323
cd "$USR_HOME"/emacs
2424

25-
[[ -x configure ]] || ( ./autogen.sh git && ./autogen.sh autoconf )
25+
make distclean
26+
[[ -x configure ]] || (./autogen.sh git && ./autogen.sh autoconf)
2627

2728
local _conf=(
2829
--prefix=/usr
@@ -57,7 +58,7 @@ package() {
5758
make DESTDIR="$pkgdir" install
5859

5960
mv "$pkgdir"/usr/bin/{ctags,ctags.emacs}
60-
mv "$pkgdir"/usr/share/man/man1/{ctags.1,ctags.emacs.1};
61+
mv "$pkgdir"/usr/share/man/man1/{ctags.1,ctags.emacs.1}
6162

6263
# fix user/root permissions on usr/share files
6364
find "$pkgdir"/usr/share/emacs/ | xargs chown root:root

0 commit comments

Comments
 (0)