Change the magic number used to introduce a trie file, so that instead
[sgt/agedu] / Makefile.am
1 bin_PROGRAMS = agedu
2 agedu_SOURCES = agedu.c du.c alloc.c trie.c index.c html.c httpd.c \
3 fgetline.c licence.c
4 agedu_LDADD = $(LIBOBJS)
5 man1_MANS = agedu.1
6
7 # If Halibut is available to rebuild the man pages from their .but
8 # source, then man pages are treated as derived files in the obvious
9 # way, and deleted by 'make clean'. If Halibut is not available (the
10 # typical case if someone has downloaded the source archive and rerun
11 # mkauto.sh), the man pages are treated as source files by this
12 # makefile.
13 if HAVE_HALIBUT
14 BUILT_MANS = $(man1_MANS)
15 CLEANFILES = $(BUILT_MANS)
16 .SUFFIXES = .but .1
17 .but.1:
18 halibut --man=$@ $<
19 doc: $(BUILT_MANS)
20 endif