[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
debtags 1.12.3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,092 kB
  • ctags: 341
  • sloc: sh: 3,990; cpp: 1,259; python: 720; makefile: 77
file content (42 lines) | stat: -rw-r--r-- 1,175 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
## Process this file with automake to produce Makefile.in

SUBDIRS = doc .

pkgdata_DATA = vocabulary tags-current.gz

AM_CPPFLAGS = -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_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

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 $@

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 \
	autogen.sh \
	$(man_MANS)