-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
60 lines (51 loc) · 2.11 KB
/
Copy pathMakefile.am
File metadata and controls
60 lines (51 loc) · 2.11 KB
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
AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = cpk
cpk_SOURCES = src/cpk.cpp src/utils.cpp \
src/commands/cmd_update.cpp \
src/commands/cmd_info.cpp \
src/commands/cmd_deps.cpp \
src/commands/cmd_deptree.cpp \
src/commands/cmd_search.cpp \
src/commands/cmd_list.cpp \
src/commands/cmd_diff.cpp \
src/commands/cmd_verify.cpp \
src/commands/cmd_build.cpp \
src/commands/cmd_install.cpp \
src/commands/cmd_uninstall.cpp \
src/commands/cmd_upgrade.cpp \
src/commands/cmd_clean.cpp \
src/commands/cmd_index.cpp \
src/commands/cmd_archive.cpp
# All headers used by the tree must be listed so `make dist` includes them.
noinst_HEADERS = src/cpk.h src/utils.h src/fs_compat.h \
src/commands/cmd_archive.h \
src/commands/cmd_build.h \
src/commands/cmd_clean.h \
src/commands/cmd_deps.h \
src/commands/cmd_deptree.h \
src/commands/cmd_diff.h \
src/commands/cmd_index.h \
src/commands/cmd_info.h \
src/commands/cmd_install.h \
src/commands/cmd_list.h \
src/commands/cmd_search.h \
src/commands/cmd_uninstall.h \
src/commands/cmd_update.h \
src/commands/cmd_upgrade.h \
src/commands/cmd_verify.h
AM_CPPFLAGS = -O2 -pipe -Isrc
AM_CXXFLAGS =
cpk_CPPFLAGS = $(AM_CPPFLAGS) $(LIBARCHIVE_CFLAGS) $(LIBCURL_CFLAGS)
cpk_LDADD = $(LIBARCHIVE_LIBS) $(LIBCURL_LIBS)
sysconfdir = /etc
sysconf_DATA = cpk.conf
man_MANS = man/cpk.1
EXTRA_DIST = $(man_MANS) cpk.conf.in
bashcompdir = $(datadir)/bash-completion/completions
dist_bashcomp_DATA = completions/cpk
zshcompdir = $(datadir)/zsh/site-functions
dist_zshcomp_DATA = completions/_cpk
# Ship a default cpk.conf in the tarball (same bytes as cpk.conf.in); configure
# still generates cpk.conf from cpk.conf.in in the build tree.
dist-hook:
cp '$(srcdir)/cpk.conf.in' '$(distdir)/cpk.conf'