File: Makefile.in

package info (click to toggle)
xdg-utils 1.1.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 1,636 kB
  • sloc: sh: 7,962; xml: 3,213; perl: 335; makefile: 205; awk: 41
file content (35 lines) | stat: -rw-r--r-- 483 bytes parent folder | download
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
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

export SHELL
$(T): remove-failed-tests
	@$(SHELL) $@

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)