X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=config%2FMakefile.in;h=47f9125b22776da2fa0a09761137655373764e10;hp=79d54d5e733f78a410919af3b05bc8513e2b768b;hb=e2550f03c9679b6fcc5240f9cda48bd5a9951e3a;hpb=6f1a8c3b8d6f19bbe33e7d3fa746ae1d2e9ac455 diff --git a/config/Makefile.in b/config/Makefile.in index 79d54d5..47f9125 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -17,17 +17,17 @@ bindir = @bindir@ libdir = @libdir@ etcdir = @sysconfdir@ -default_editor = @editorpath@ -default_pager = @pagerpath@ sendmailpath = @sendmailpath@ +mailspool = @mailspool@ CC = @CC@ CFLAGS = @CFLAGS@ DEFS = @DEFS@ -INCLUDES = -I.. -I$(top_srcdir) @CPPFLAGS@ -CONFIGDEFS = -DNMHBINDIR='"$(bindir)"' -DNMHETCDIR='"$(etcdir)"' -DNMHLIBDIR='"$(libdir)"' \ - -DDEFAULT_EDITOR='"$(default_editor)"' -DDEFAULT_PAGER='"$(default_pager)"' \ - -DSENDMAILPATH='"$(sendmailpath)"' +# add include dir .. for config.h when building in different directory +INCLUDES = -I$(top_srcdir) -I.. @CPPFLAGS@ +CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' \ + -DSENDMAILPATH='"$(sendmailpath)"' \ + -DMAILSPOOL='"$(mailspool)"' COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS) @@ -44,12 +44,6 @@ SRCS = config.c # object files OBJS = config.o version.o -# auxiliary files -AUX = Makefile.in version.sh - -# all files in this directory included in the distribution -DIST = $(SRCS) $(AUX) - # ========= DEPENDENCIES FOR BUILDING ========== all: $(OBJS) @@ -87,11 +81,4 @@ subdir = config Makefile: Makefile.in ../config.status cd .. && ./config.status $(subdir)/$@ - -distdir = ../`cat ../distname`/$(subdir) -nmhdist: $(DIST) - @echo "Copying distribution files in $(subdir)" - @for file in $(DIST); do \ - cp -p $(srcdir)/$$file $(distdir); \ - done