File: check.mk

package info (click to toggle)
miniupnpd 2.3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,040 kB
  • sloc: ansic: 28,571; sh: 2,024; makefile: 164
file content (17 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# (c) 2020 Thomas BERNARD

check:	validateupnppermissions validategetifaddr validatessdppktgen \
	validateversion

validateversion:	miniupnpd $(SRCDIR)/VERSION
	./miniupnpd --version
	[ "`./miniupnpd --version | head -1 | cut -d' ' -f-2`" = "miniupnpd `cat $(SRCDIR)/VERSION`" ]
	touch $@

validate%:	$(SRCDIR)/test%.sh test%
	$(SHELL) $<
	touch $@

validatessdppktgen:	testssdppktgen
	./$<
	touch $@