File: Makefile.am

package info (click to toggle)
debsig-verify 0.16
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 704 kB
  • sloc: sh: 5,799; ansic: 984; makefile: 154
file content (66 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download
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
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) \
	-lxmlparse


bin_PROGRAMS = src/debsig-verify

src_debsig_verify_SOURCES = \
	src/ar-parse.c \
	src/debsig.h \
	src/debsig-verify.c \
	src/gpg-parse.c \
	src/misc.c \
	src/xml-parse.c \
	$(nil)

EXTRA_DIST = \
	autogen \
	get-version \
	doc/debsig-verify.1.in \
	doc/policy-syntax.txt \
	doc/policy.dtd \
	debian/changelog \
	debian/compat \
	debian/control \
	debian/copyright \
	debian/lintian-overrides \
	debian/rules \
	debian/source/format \
	$(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)

clean-local:
	$(RM) doc/debsig-verify.1