$NetBSD$ C source files must be told where the "sysconfdir" is. doc/monit.html.in will be included in the archive instead of doc/monit.html, so we have to remove monit.html. --- Makefile.in.orig 2007-01-11 17:07:10.000000000 +0100 +++ Makefile.in @@ -61,7 +61,7 @@ PROG = monit INCDIR = -I. -I./device -I./http -I./process -I./protocols LIB = @LEXLIB@ @LIBS@ -DEFINES = address@hidden@ +DEFINES = address@hidden@ -DSYSCONFDIR="\"@address@hidden"" # ------------------------------------------------------------------- # @@ -129,12 +129,12 @@ $(PROG) : $(GRAMMAR) $(OBJECTS) $(CC) $(LINKFLAGS) $(OBJECTS) $(LIB) -o $(PROG) clean:: - $(RM) *~ \#* $(PROG) core $(OBJECTS) $(GRAMMAR) tokens.h + $(RM) *.orig *~ \#* $(PROG) core $(OBJECTS) $(GRAMMAR) tokens.h # remove configure files distclean:: clean $(RM) config.cache config.log config.status Makefile config.h \ - autom4te* + autom4te* $(MAN_OBJS) doc/monit.html devclean:: clean distclean $(RM) configure config.h.in aclocal.m4