-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
73 lines (60 loc) · 1.49 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
SUBDIRS = . test
DEBSIG_KEYRINGS_DIR = $(datadir)/debsig/keyrings
DEBSIG_POLICIES_DIR = $(sysconfdir)/debsig/policies
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = \
-I$(top_builddir) \
-DLIBDPKG_VOLATILE_API=1 \
-DDEBSIG_POLICIES_DIR=\"$(DEBSIG_POLICIES_DIR)\" \
-DDEBSIG_KEYRINGS_DIR=\"$(DEBSIG_KEYRINGS_DIR)\"
AM_CFLAGS = \
$(LIBDPKG_CFLAGS) \
$(nil)
LDADD = \
$(LIBDPKG_LIBS) \
-lexpat
bin_PROGRAMS = src/debsig-verify
src_debsig_verify_SOURCES = \
src/ar-parse.c \
src/debsig.h \
src/debsig-verify.c \
src/debug.c \
src/openpgp.c \
src/openpgp-gpg.c \
src/policy-xml.c \
$(nil)
EXTRA_DIST = \
autogen \
get-version \
doc/debsig-verify.1.in \
doc/policy-syntax.txt \
doc/policy.dtd \
debian/changelog \
debian/control \
debian/copyright \
debian/debsig-verify.docs \
debian/debsig-verify.examples \
debian/debsig-verify.lintian-overrides \
debian/rules \
debian/source/format \
debian/tests/control \
debian/tests/functional \
$(nil)
do_man_subst = $(AM_V_GEN) \
sed -e 's,@POLICIES_DIR@,$(DEBSIG_POLICIES_DIR),g' \
-e 's,@KEYRINGS_DIR@,$(DEBSIG_KEYRINGS_DIR),g' \
-e 's,%RELEASE_DATE%,$(RELEASE_DATE),g' \
-e 's,%PACKAGE_VERSION%,$(PACKAGE_VERSION),g'
doc/%.1: doc/%.1.in
$(MKDIR_P) doc
$(do_man_subst) < $< > $@
man_MANS = \
doc/debsig-verify.1 \
$(nil)
install-data-local:
$(MKDIR_P) $(DESTDIR)$(DEBSIG_POLICIES_DIR)
$(MKDIR_P) $(DESTDIR)$(DEBSIG_KEYRINGS_DIR)
dist-hook:
echo $(VERSION) >$(distdir)/.dist-version
clean-local:
$(RM) doc/debsig-verify.1