Make: Fix distclean for separate build tree
Fix removal of autoconf-generated files in src/client/. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
afe5001a23
commit
3872604ce0
1 changed files with 3 additions and 2 deletions
5
Make.mk
5
Make.mk
|
@ -27,7 +27,7 @@
|
||||||
# Make.mk: The real Makefile, included by GNUmakefile
|
# Make.mk: The real Makefile, included by GNUmakefile
|
||||||
#
|
#
|
||||||
# Known contributors to this file:
|
# Known contributors to this file:
|
||||||
# Markus Armbruster, 2005-2016
|
# Markus Armbruster, 2005-2017
|
||||||
#
|
#
|
||||||
|
|
||||||
# This makefile was inspired by `Recursive Make Considered Harmful',
|
# This makefile was inspired by `Recursive Make Considered Harmful',
|
||||||
|
@ -168,6 +168,7 @@ endif
|
||||||
src_distgen := $(acdist) $(mk)
|
src_distgen := $(acdist) $(mk)
|
||||||
# Distributed by dist-client from $(srcdir)/src/client; removed by distclean:
|
# Distributed by dist-client from $(srcdir)/src/client; removed by distclean:
|
||||||
cli_distgen := $(acdistcli)
|
cli_distgen := $(acdistcli)
|
||||||
|
distclean += $(addprefix $(srcdir)/, $(cli_distgen))
|
||||||
|
|
||||||
# Compiler flags
|
# Compiler flags
|
||||||
CPPFLAGS += -I$(srcdir)/include -I.
|
CPPFLAGS += -I$(srcdir)/include -I.
|
||||||
|
@ -193,7 +194,7 @@ clean:
|
||||||
|
|
||||||
.PHONY: distclean
|
.PHONY: distclean
|
||||||
distclean: clean
|
distclean: clean
|
||||||
$(call quiet-command,rm -rf $(distclean) $(cli_distgen),DISTCLEAN)
|
$(call quiet-command,rm -rf $(distclean),DISTCLEAN)
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: all installdirs
|
install: all installdirs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue