File: Makefile

package info (click to toggle)
fatsort 1.6.5.640-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,332 kB
  • sloc: ansic: 4,317; makefile: 3,419; sh: 30
file content (29 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (3)
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
DOCKER=$(shell which docker)
TOUCH=$(shell which touch)
WGET=$(shell which wget)
TAR=$(shell which tar)

DOCKERTESTS=$(wildcard docker_tests_*)

all: $(DOCKERTESTS)

important: docker_tests_i386 docker_tests_amd64 docker_tests_ppc

$(DOCKERTESTS): Makefile
	make -C $@

delete_all: delete_images

delete_images: delete_containers
	${DOCKER} rmi $(shell ${DOCKER} images -q) || true

delete_containers:
	${DOCKER} rm $(shell ${DOCKER} ps -a -q) || true

clean:
	for i in $(DOCKERTESTS); \
		do make -C $$i clean; \
	done

.PHONY: clean important $(DOCKERTESTS)