File: Makefile

package info (click to toggle)
redisearch 1%3A1.2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 12,092 kB
  • sloc: ansic: 79,280; python: 3,446; pascal: 1,644; makefile: 435; yacc: 422; sh: 8
file content (38 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
all:
	$(MAKE) -C ./src all

test:
	$(MAKE) -C ./src $@

clean:
	$(MAKE) -C ./src $@

distclean:
	$(MAKE) -C ./src $@
.PHONY: distclean

package: all
	$(MAKE) -C ./src package
.PHONY: package

buildall:
	$(MAKE) -C ./src $@

deploydocs:
	mkdocs gh-deploy
.PHONY: deploydocs

staticlib:
	$(MAKE) -C ./src $@

# Builds a small utility that outputs the current version
print_version:
	$(MAKE) -C ./src print_version

docker: distclean print_version
	docker build . -t goodform/redisearch

docker_push: docker
	docker push goodform/redisearch:latest
	docker tag goodform/redisearch:latest goodform/redisearch:`./src/print_version`
	docker push goodform/redisearch:`./src/print_version`