X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=config%2FMakefile.in;h=47f9125b22776da2fa0a09761137655373764e10;hp=491ff85e9732cfac70f78e91c60c91ea9dc28220;hb=18591f8e001ecedbee48a51c1d1f08ebaa1c15c8;hpb=cd1299b02c2fbe61f408a8387402494364688337 diff --git a/config/Makefile.in b/config/Makefile.in index 491ff85..47f9125 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -23,8 +23,9 @@ mailspool = @mailspool@ CC = @CC@ CFLAGS = @CFLAGS@ DEFS = @DEFS@ -INCLUDES = -I.. -I$(top_srcdir) @CPPFLAGS@ -CONFIGDEFS = -DNMHBINDIR='"$(bindir)"' -DNMHETCDIR='"$(etcdir)"' \ +# add include dir .. for config.h when building in different directory +INCLUDES = -I$(top_srcdir) -I.. @CPPFLAGS@ +CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' \ -DSENDMAILPATH='"$(sendmailpath)"' \ -DMAILSPOOL='"$(mailspool)"' @@ -43,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,10 +82,3 @@ 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 -