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)
|