mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
I thought the BUILT_SOURCES also enters the files to CLEANFILES, but 'make clean' leaves the copied header behind for me. Add to CLEANFILES to get it removed. Change-Id: I5a56f83289e32a09643047f0e779c9de3e4b39a6
14 lines
428 B
Makefile
14 lines
428 B
Makefile
BUILT_SOURCES = \
|
|
mgcp_common.h \
|
|
$(NULL)
|
|
|
|
noinst_HEADERS = \
|
|
mgcp_client_internal.h \
|
|
$(NULL)
|
|
|
|
mgcp_common.h: $(top_srcdir)/include/osmocom/mgcp/mgcp_common.h
|
|
echo -e "/*\n\n DO NOT EDIT THIS FILE!\n THIS IS OVERWRITTEN DURING BUILD\n This is an automatic copy of <osmocom/mgcp/mgcp_common.h>\n\n */" > mgcp_common.h
|
|
cat $(top_srcdir)/include/osmocom/mgcp/mgcp_common.h >> mgcp_common.h
|
|
|
|
CLEANFILES = mgcp_common.h
|