forked from dCache/dcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
77 lines (62 loc) · 1.5 KB
/
Makefile.am
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
topdir=@RPM_DIR@
if PKG_DEP_VDT
GSIAPI = -with vdt
endif
if PKG_DEP_EPEL
GSIAPI = -with epel
endif
if WANT_LIBGSSTUNNEL
GSSAPI = -with krb
endif
if WANT_LIBTELNETTUNNEL
TELNETAPI = -with telnet
endif
if WANT_LIBSSLTUNNEL
SSLAPI = -with ssl
endif
AUX_DIST = $(ac_aux_dir)/config.guess \
$(ac_aux_dir)/config.sub \
$(ac_aux_dir)/install-sh \
$(ac_aux_dir)/ltmain.sh \
$(ac_aux_dir)/missing
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \
stamp-h.in $(AUX_DIST)
ACLOCAL = aclocal -I $(ac_aux_dir)
dist-hook:
(cd $(distdir); \
if [ -a $(ac_aux_dir) ]; then \
echo "config exist!"; \
else \
mkdir $(ac_aux_dir); \
fi)
(if [ -a $(ac_aux_dir)/depcomp ]; then \
echo "depcomp exist!"; \
else \
touch $(ac_aux_dir)/depcomp; \
fi)
for file in $(AUX_DIST) $(AUX_DIST_EXTRA); do \
cp $$file $(distdir)/$$file; \
done
SUBDIRS = src plugins tests
rpm: dist @PACKAGE@.spec
mkdir -p $(topdir)/SOURCES \
$(topdir)/SPECS \
$(topdir)/BUILD \
$(topdir)/RPMS $(topdir)/SRPMS
cp @PACKAGE@-@VERSION@.tar.gz $(topdir)/SOURCES
cp @PACKAGE@.spec $(topdir)/SPECS
rpmbuild --define "_topdir $(topdir)" \
-ba $(GSSAPI) $(GSIAPI) $(SSLAPI) $(TELNETAPI) \
@PACKAGE@.spec
docfiles = \
AUTHORS \
COPYING \
LICENSE \
ChangeLog \
INSTALL \
README
man1_MANS = \
man/dccp.1
docdir = $(DOC_DIR)
doc_DATA = $(docfiles)
EXTRA_DIST = $(docfiles)