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
|
## Process this file with automake to produce Makefile.in
SUBDIRS = doc .
confddir = $(confdir)/sources.list.d
pkgdata_DATA = vocabulary tags-current.gz
conf_DATA = sources.list
confd_DATA = source-example
INCLUDES = -I.. $(LIBEPT_CFLAGS) $(LIBTAGCOLL_CFLAGS) -DSCRIPTDIR=\"$(pkgdatadir)\" -DBINDIR=\"$(bindir)\"
dist_noinst_HEADERS = nag.h cmdline.h loader.h printer.h nullstream.h
bin_PROGRAMS = debtags
dist_bin_SCRIPTS = debtags-submit-patch debtags-fetch
debtags_SOURCES = \
nag.cc \
loader.cc \
debtags.cc
debtags_LDADD = $(LIBEPT_LIBS) $(LIBTAGCOLL_LIBS)
#bashcomp_DATA = debtags-bashcompletion
man_MANS = debtags.1 debtags-submit-patch.1 debtags-fetch.1
CLEANFILES = $(man_MANS)
debtags.1: $(top_builddir)/debtags $(srcdir)/doc/debtags-man-hooks
$(top_builddir)/debtags --manpage=$(srcdir)/doc/debtags-man-hooks > $@ || rm $@
debtags-submit-patch.1:
help2man --name='submit tag patches to http://debtags.debian.net' --section=1 --no-info $(top_srcdir)/debtags-submit-patch > $@ || rm $@
debtags-fetch.1:
help2man --name='fetch tag sources from /etc/debtags/sources.list' --section=8 --no-info $(top_srcdir)/debtags-fetch > $@ || rm $@
install-data-local: $(srcdir)/bash-completion
install -d -o root -g root -m 0755 $(DESTDIR)$(bashcompdir)
$(INSTALL_DATA) $< $(DESTDIR)$(bashcompdir)/debtags
EXTRA_DIST = README IDEAS \
vocabulary tags-current.gz update_files \
bash-completion sources.list source-example \
autogen.sh \
$(man_MANS)
|