--- a/Makefile Fri Sep 29 20:07:48 2023 +0200 +++ b/Makefile Fri Sep 29 20:30:22 2023 +0200 @@ -30,8 +30,12 @@ @cd src && $(MAKE) -s install dist: - tar -czf cline-$(VERSION).tar.gz -Hustar \ - README LICENSE Makefile configure make src test + @mkdir -p build/cline + @cp -R README LICENSE Makefile configure \ + make src test build/cline/ + @cd build; tar -czf cline-$(VERSION).tar.gz -Hustar cline + @rm -f -R build/cline + @echo "Dist file created: build/cline-$(VERSION).tar.gz" build: @mkdir -p build