summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: e943d6c47c2061060b997914bc8b816401f85e93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sbin_PROGRAMS=fileserv
fileserv_SOURCES=fileserv.c runas.c fileserv.h logger.c pidfile.c\
 wordsplit.c wordsplit.h catfile.c config.c idx.c defidx.h\
 mem.c remoteip.c icon.c dirls.c dirls.h lang.c httperr.c
BUILT_SOURCES=defidx.h
if FSRV_WRAP
  fileserv_SOURCES += wrapacl.c
endif
dist_man_MANS=fileserv.8
LDADD = ../mimetypes/libmimetypes.a
AM_CPPFLAGS = -I $(top_srcdir)/mimetypes -DSYSCONFDIR=\"$(sysconfdir)\"
EXTRA_DIST=ftoc.sed defidx.html fileserv.conf
.html.h:
	$(AM_V_GEN)sed -f $(srcdir)/ftoc.sed $< > $@

install-data-local:
	@if [ ! -r $(DESTDIR)$(sysconfdir)/fileserv.conf ]; then :; \
             test -z "$(DESTDIR)$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"; \
	     ${INSTALL} -m 644 fileserv.conf \
                        $(DESTDIR)$(sysconfdir)/fileserv.conf; \
	fi

Return to:

Send suggestions and report system problems to the System administrator.