File: Makefile

package info (click to toggle)
slony1-2 2.2.11-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,040 kB
  • sloc: ansic: 21,487; sh: 12,997; sql: 11,337; xml: 9,202; javascript: 6,409; perl: 2,829; yacc: 2,698; lex: 1,356; makefile: 738; awk: 24; lisp: 8
file content (23 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean dist:
	@if [ ! -f GNUmakefile ] ; then \
		echo "You need to run the 'configure' program first. See the file"; \
		echo "'README' for installation instructions." ; \
		false ; \
	fi
	@IFS=':' ; \
		for dir in $$PATH; do \
			for prog in gmake gnumake make; do \
				if [ -f $$dir/$$prog ] && ( $$dir/$$prog -f /dev/null --version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \
					GMAKE=$$dir/$$prog; \
					break 2; \
				fi; \
			done; \
		done; \
	\
	if [ x"$${GMAKE+set}" = xset ]; then \
		echo "Using GNU make found at $${GMAKE}"; \
		$${GMAKE} $@ ; \
	else \
		echo "You must use GNU make to build slony-I." ; \
		false; \
	fi