27 @cd src && $(MAKE) VERSION=$(VERSION) |
27 @cd src && $(MAKE) VERSION=$(VERSION) |
28 |
28 |
29 install: |
29 install: |
30 @cd src && $(MAKE) -s install |
30 @cd src && $(MAKE) -s install |
31 |
31 |
32 dist: |
32 dist: FORCE |
33 @mkdir -p build/cline |
33 @mkdir -p dist/cline |
34 @cp -R README LICENSE Makefile configure \ |
34 @cp -R README LICENSE Makefile configure \ |
35 make src test build/cline/ |
35 make src test dist/cline/ |
36 @cd build; tar -czf cline-$(VERSION).tar.gz -Hustar cline |
36 @cd dist; tar -czf cline-$(VERSION).tar.gz -Hustar cline |
37 @rm -f -R build/cline |
37 @rm -f -R dist/cline |
38 @echo "Dist file created: build/cline-$(VERSION).tar.gz" |
38 @echo "Dist file created: dist/cline-$(VERSION).tar.gz" |
39 |
39 |
40 build: |
40 build: |
41 @mkdir -p build |
41 @mkdir -p build |
42 |
42 |
43 clean: |
43 clean: |