Skip to content

Commit 49d0e2d

Browse files
committed
Tweak Makefile
1 parent ab1c810 commit 49d0e2d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ EDITOR = nano
1919

2020
build:
2121
@echo "BUILDING PYTHON PACKAGES..."
22+
rm -rf build
2223
mkdir -p build
23-
rm -rf build/aeidon build/gaupol
2424
cp -r aeidon gaupol build
2525
find build -type d -name __pycache__ -prune -exec rm -rf {} +
2626
find build -type d -name test -prune -exec rm -rf {} +
@@ -68,7 +68,7 @@ clean:
6868
install:
6969
test -f build/.complete
7070
printf '%s\n%s\n' "$(LIBDIR)" "$(LOCALEDIR)" | cmp -s - build/.complete || \
71-
{ echo "ERROR: build was run with different variables, run build again"; exit 1; }
71+
{ echo "ERROR: build was run with different variable values"; exit 1; }
7272
@echo "INSTALLING PYTHON PACKAGES..."
7373
mkdir -p $(DESTDIR)$(LIBDIR)
7474
test "$(INCLUDE_AEIDON)" = no || cp -r build/aeidon $(DESTDIR)$(LIBDIR)
@@ -100,7 +100,7 @@ install:
100100
test -z "$(DESTDIR)" && update-desktop-database "$(DATADIR)/applications" || true
101101

102102
publish-aeidon:
103-
$(MAKE) check test clean
103+
$(MAKE) clean
104104
python3 -m build
105105
test -s dist/aeidon-*-py3-none-any.whl
106106
test -s dist/aeidon-*.tar.gz

0 commit comments

Comments
 (0)