topdir-autoconf.mk: Fix distclean target

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-07-06 14:38:56 +00:00
commit 9e0d5db438
2 changed files with 3 additions and 4 deletions

View file

@ -7,8 +7,6 @@ CONFIG_ACDONE := $(wildcard config.acdone)
DISTCLEAN += configure config.log autoscan.log configure.ac config.status
AC_FILES_IN = $(shell find . -maxdepth 2 -name '*.in' | grep -ve "contrib\|dist\|nomake")
AC_FILES = $(basename $(AC_FILES_IN))
CAT ?= /bin/cat
SED ?= $(firstword $(wildcard /usr/bin/sed /bin/sed))
all: config.acdone make_all
config: config.acdone $(AC_FILES)

View file

@ -1,10 +1,11 @@
AUTOCONF_IN := $(wildcard *.in */*.in */*/*.in)
# AUTOCONF_IN := $(shell find . -maxdepth 3 -name '*.in' | grep -v dist)
# AUTOCONF_IN := $(shell find . -maxdepth 3 -name '*.in' | grep -v dist)
AUTOCONF_GENERATED := $(patsubst %.in,%,$(AUTOCONF_IN))
include $(JWBDIR)/make/topdir.mk
ifneq ($(AUTOCONF_IN),)
ifneq ($(AUTOCONF_GENERATED),$(wildcard $(AUTCONF_GENERATED)))
include $(JWBDIR)/make/autoconf.mk
endif
endif
include $(JWBDIR)/make/topdir.mk