File: Makefile.in

package info (click to toggle)
discover 2.1.2-7.1+deb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 6,248 kB
  • sloc: sh: 8,115; ansic: 7,275; xml: 1,809; makefile: 732
file content (114 lines) | stat: -rw-r--r-- 2,484 bytes parent folder | download | duplicates (7)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# $Progeny$

.POSIX:

VPATH=			@srcdir@
builddir=		@builddir@
abs_builddir=		@abs_builddir@
top_builddir=		@top_builddir@
abs_top_builddir=	@abs_top_builddir@
srcdir=			@srcdir@
abs_srcdir=		@abs_srcdir@
top_srcdir=		@top_srcdir@
abs_top_srcdir=		@abs_top_srcdir@

prefix=			@prefix@
exec_prefix=		@exec_prefix@
bindir=			@bindir@

INSTALL=		@INSTALL@
INSTALL_DIR=		@INSTALL_DIR@

INSTALL_SCRIPT=		${INSTALL} -m 555

CONFIG_SCRIPT=		@PROGENY_CONFIG_SCRIPT_NAME@

UNINSTALL_FILE=	@UNINSTALL_FILE@
UNINSTALL_DIR=	@UNINSTALL_DIR@

all: ${CONFIG_SCRIPT}

###############################################################################
# Build

all: ${CONFIG_SCRIPT}

${CONFIG_SCRIPT}: config-script config-script.refentry
	${INSTALL} config-script $@

config-script.refentry: ${top_srcdir}/configure.ac config-script.m4
	cp config-script.refentry.gen $@

###############################################################################
# Clean

ifdef CONFIG_SCRIPT
clean_FILES=		${CONFIG_SCRIPT}
distclean_FILES=	Makefile config-script config-script.refentry	\
			show-config config-script.refentry.gen
else
clean_FILES=
distclean_FILES=	Makefile
endif

clean:
	rm -f ${clean_FILES}

distclean:
	rm -rf ${clean_FILES} ${distclean_FILES}

maintainer-clean:
	rm -rf ${clean_FILES} ${distclean_FILES}

###############################################################################
# Installation

install: ${CONFIG_SCRIPT}
	${INSTALL_DIR} ${DESTDIR}${bindir}
ifdef CONFIG_SCRIPT
	${INSTALL_SCRIPT} ${CONFIG_SCRIPT} ${DESTDIR}${bindir}/${CONFIG_SCRIPT}
endif

uninstall:
ifdef CONFIG_SCRIPT
	${UNINSTALL_FILE} ${DESTDIR}${bindir}/${CONFIG_SCRIPT}
endif
	if /usr/bin/test -d ${DESTDIR}${bindir}; then \
		${UNINSTALL_DIR} ${DESTDIR}${bindir}; \
	fi

###############################################################################
# Distribution

PACKAGE_TARNAME=	@PACKAGE_TARNAME@
PACKAGE_VERSION=	@PACKAGE_VERSION@

distname=		${PACKAGE_TARNAME}-${PACKAGE_VERSION}
distdir=		${top_builddir}/${distname}

DISTFILES=		Makefile.in \
			README \
			check.m4 \
			config-script-mkdoc \
			config-script.in \
			config-script.m4 \
			config-script.refentry \
			config.guess \
			config.sub \
			config.rpath \
			dist \
			distcheck \
			distdir \
			gettext.h \
			gettext.m4 \
			install-sh \
			libtool.m4 \
			ltmain.sh \
			setup \
			show-config.in \
			show-config.m4 \
			build.mk \
			recur.mk

distdir: ${DISTFILES}
	${top_srcdir}/buildtools/distdir ${distdir}/${_THISDIR_} ${DISTFILES}