File: Makefile.am

package info (click to toggle)
strongswan 6.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 61,828 kB
  • sloc: ansic: 405,501; sh: 11,632; makefile: 6,300; sql: 2,885; javascript: 1,948; python: 990; xml: 608; perl: 586; cs: 522; lex: 485; yacc: 443; ruby: 398; ada: 114
file content (12 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
EXTRA_DIST = do-tests make-testing ssh start-testing stop-testing \
			 testing.conf ssh_config config hosts images css scripts \
			 tests README

# exclude all files ignored by Git from the tarball
dist-hook:
	if git -C $(srcdir) ls-files --error-unmatch hosts > /dev/null 2>&1; then \
		find $(abs_srcdir)/hosts $(abs_srcdir)/tests -print0 | \
			sed -z -e "s|^$(abs_srcdir)/||" | \
			git -C $(srcdir) check-ignore -z --stdin | \
			xargs -0 -I{} rm -rf $(distdir)/{}; \
	fi