File: Makefile

package info (click to toggle)
libreswan 4.3-1%2Bdeb11u4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 62,688 kB
  • sloc: ansic: 108,293; sh: 25,973; xml: 11,756; python: 10,230; makefile: 1,580; javascript: 1,353; yacc: 825; sed: 647; perl: 584; lex: 159; awk: 156
file content (25 lines) | stat: -rw-r--r-- 624 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

HTMLDIR=/var/www/html/results

.PHONY: install
install: | $(HTMLDIR)
	cd ../.. && make WEB_SUMMARYDIR=$(HTMLDIR) web

# Grab a small sample of the test results.
#
# Since interesting logs are all compressed any plain logs can be
# excluded.

fetch $(HTMLDIR):
	: grab all the top-level files
	rsync -i --copy-links --exclude '*/' \
		'testing.libreswan.org:results/*' \
		$(HTMLDIR)
	: grab a couple directories
	ssh testing.libreswan.org 'ls -d results/v3*/' \
		| cut -d/ -f2 \
		| tail -5 | head -4 \
		| tee /dev/stderr \
		| rsync -a -i --files-from - --recursive \
		  testing.libreswan.org:results/ \
		  $(HTMLDIR)