include ../Makefile.defs

DOCS = BLURB CREDITS INSTALL TODO WARNING
MAN5 = idsad.conf.5
MAN3 = idsa_close.3 idsa_open.3 idsa_scan.3 idsa_set.3 idsa_types.3
MAN8 = idsad.8 idsatcplogd.8 idsatcpd.8 idsaklogd.8 idsasyslogd.8 idsarlogd.8 \
       idsalog.8 idsapid.8 idsapipe.8 idsaexec.8 idsaguardtty.8 \
       mod_counter.8 mod_interactive.8 mod_keep.8 mod_log.8 mod_regex.8 mod_time.8 mod_timer.8 mod_true.8

ifneq ($(GUILECONFIG),no)
MAN8 += idsaguile.8
endif

ifneq ($(GTKCONFIG),no)
MAN8 += idsaguardgtk.8
endif

all: 

install: 
	@$(INSTALL) -d $(MANDIR)/{man3,man5,man8}
	@$(INSTALL) -m 644 $(MAN3) $(MANDIR)/man3
	@$(INSTALL) -m 644 $(MAN5) $(MANDIR)/man5
	@$(INSTALL) -m 644 $(MAN8) $(MANDIR)/man8

checkpoint: indent clean
	$(CI) -l $(DOCS) $(MAN3) $(MAN5) $(MAN8) 

indent:

clean: 
	$(RM) *.o *~ core *.bak

reallyclean: clean
