Makefile

changeset 78
b3d267334140
parent 76
d11c154e33e1
--- a/Makefile	Sun Nov 10 13:54:55 2024 +0100
+++ b/Makefile	Sun Nov 10 14:06:03 2024 +0100
@@ -29,13 +29,13 @@
 install:
 	@cd src && $(MAKE) -s install
 
-dist:
-	@mkdir -p build/cline
+dist: FORCE
+	@mkdir -p dist/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"
+		make src test dist/cline/
+	@cd dist; tar -czf cline-$(VERSION).tar.gz -Hustar cline
+	@rm -f -R dist/cline
+	@echo "Dist file created: dist/cline-$(VERSION).tar.gz"
 
 build:
 	@mkdir -p build

mercurial