# HG changeset patch # User Mike Becker # Date 1740504175 -3600 # Node ID f58fd8461e10b7b02927cf569c8d09f8a407007e # Parent e0f3d41ae44b54a738d0eec4021b9beedf7dae70 add dist target fixes #607 diff -r e0f3d41ae44b -r f58fd8461e10 .hgignore --- a/.hgignore Tue Feb 25 17:56:54 2025 +0100 +++ b/.hgignore Tue Feb 25 18:22:55 2025 +0100 @@ -1,4 +1,5 @@ syntax:glob .idea/ build/ +dist/ config.mk diff -r e0f3d41ae44b -r f58fd8461e10 Makefile --- a/Makefile Tue Feb 25 17:56:54 2025 +0100 +++ b/Makefile Tue Feb 25 18:22:55 2025 +0100 @@ -21,10 +21,22 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +VERSION=1.1.0-dev + all: compile FORCE +dist: FORCE + mkdir -p dist/repoheat + cp LICENSE README configure Makefile dist/repoheat/ + cp -R src dist/repoheat/ + cd dist && tar -czf repoheat-$(VERSION).tar.gz repoheat + clean: FORCE rm -Rf build + rm -Rf dist + +distclean: clean FORCE + rm -f config.mk compile: config.mk build FORCE @cd src && $(MAKE) diff -r e0f3d41ae44b -r f58fd8461e10 README --- a/README Tue Feb 25 17:56:54 2025 +0100 +++ b/README Tue Feb 25 18:22:55 2025 +0100 @@ -1,13 +1,16 @@ -After cloning the repository, execute - - ./configure --release - -to create a build configuration. Then execute +After cloning the repository, or extracting the source tarball, +simply execute make to build the software. +Optionally, before calling make, you can execute ./configure +with your favorite settings. +By default, make will execute + + ./configure --release + You will find the repoheat binary in the build directory. Execute ./repoheat -h to show the usage information.