File: Makefile.in

package info (click to toggle)
xdg-utils 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,508 kB
  • sloc: sh: 7,900; xml: 3,213; perl: 274; makefile: 201; awk: 41
file content (34 lines) | stat: -rw-r--r-- 464 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
T := $(sort $(wildcard t-*.sh))

all:

test: $(T)
	@if [ -e failed-tests ]; then \
		echo; \
		echo TEST FAILURES:; \
		echo; \
		cat failed-tests; \
		echo; \
		exit 1; \
	fi

autotest: test

remove-failed-tests:
	rm -f failed-tests

$(T): remove-failed-tests
	@sh $@

clean: remove-failed-tests
	rm -fr lab

distclean: clean
	rm -f Makefile

install:
uninstall:
release:

.PHONY: test autotest remove-failed-tests all install uninstall release \
	distclean $(T)