# HG changeset patch # User Mike Becker # Date 1696012222 -7200 # Node ID a2ea57a163489644c7e8f3afc8c05862d03c1ba2 # Parent 8de477fe19eb2b9f97c22ef9f7942a45256e6f57 fix dist files not being in subdir diff -r 8de477fe19eb -r a2ea57a16348 Makefile --- 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