File: Makefile.am

package info (click to toggle)
hitch 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,016 kB
  • sloc: ansic: 9,362; sh: 1,262; yacc: 586; lex: 137; makefile: 125; ruby: 49
file content (28 lines) | stat: -rw-r--r-- 728 bytes parent folder | download | duplicates (2)
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
ACLOCAL_AMFLAGS = -I .

SUBDIRS = src/util src

dist_man_MANS = hitch.8 hitch.conf.5

if ENABLE_DOCUMENTATION
hitch.8: hitch.man.rst
	${RST2MAN} --halt=2 $(srcdir)/hitch.man.rst $@

hitch.conf.5: hitch.conf.man.rst
	${RST2MAN} --halt=2 $(srcdir)/hitch.conf.man.rst $@

check-recursive: hitch.conf.example

hitch.conf.example: hitch.conf.man.rst
	echo "# Run 'man hitch.conf' for a description of all options." > $@.tmp
	sed -e '1,/^.. example-start/d' \
		-e '/.. example-end/,$$d' \
		-e '/^[^ ]/d' \
		-e 's/^    //' $(srcdir)/hitch.conf.man.rst >> $@.tmp
	mv $@.tmp $@
CLEANFILES = hitch.conf.example
endif

dist_doc_DATA = hitch.conf.example CHANGES.rst README.md

EXTRA_DIST = LICENSE hitch.man.rst hitch.conf.man.rst docs