File: Makefile.am

package info (click to toggle)
tripwire 2.4.3.7-6
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates
  • size: 7,220 kB
  • sloc: cpp: 57,898; sh: 6,006; perl: 2,735; yacc: 497; makefile: 439; lex: 356; ansic: 10
file content (25 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download | duplicates (4)
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
AUTOMAKE_OPTIONS = foreign no-dependencies
SUBDIRS = man src
EXTRA_DIST = COMMERCIAL MAINTAINERS TRADEMARK LICENSE Packaging ReadMe-2.4.3 README.md autogen.sh autogen.sh.README touchconfig.sh contrib policy installer

install-data-hook:
	INSTALL_STRIP_FLAG="$(INSTALL_STRIP_FLAG)" \
	prefix="$(prefix)" sysconfdir="$(sysconfdir)" \
	path_to_vi="$(path_to_vi)" path_to_sendmail="$(path_to_sendmail)" \
	$(top_srcdir)/installer/install.sh

uninstall-hook:
	rm -f ${prefix}/sbin/tripwire $(prefix)/sbin/twadmin $(prefix)/sbin/twprint $(prefix)/sbin/siggen
	rm -Rf $(prefix)/doc

check:
	rm -Rf $(top_srcdir)/src/test-harness/twtest
	rm -Rf $(top_srcdir)/bin/TWTestData
	cd $(top_srcdir)/src/test-harness && perl ./twtest.pl
	cd $(top_srcdir)/bin && ./twtest all

test: check

.PHONY: targets
targets:
	@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs