diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-23 01:01:04 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-26 16:41:31 +0200 |
commit | 861d9d2ebf81c7830277bca719f311191abc468a (patch) | |
tree | 52eab41b073192c31123d4b8d85eef158678c46e /src/ranap | |
parent | e395b7561927962018b8e6d42ae84e5e76cb02d0 (diff) |
src/*/Makefile.am: Copy back to srcdir the generated .c files from ASN
Change-Id: I203a25a8059218bb9fd6d10cbc028a296d347382
Diffstat (limited to 'src/ranap')
-rw-r--r-- | src/ranap/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ranap/Makefile.am b/src/ranap/Makefile.am index 0bb36a0..4ba3a79 100644 --- a/src/ranap/Makefile.am +++ b/src/ranap/Makefile.am @@ -1188,3 +1188,7 @@ regenerate-from-asn1-source: sed -i 's/Member/MemberN/' RANAP_RABDataVolumeReport.[ch] # change include style to `#include <dir/foo.h>' $(top_srcdir)/move-asn1-header-files.sh osmocom/ranap $(ASN_MODULE_INC) +# Finally copy *.c from buildir to srcdir: + if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/ranap)"; then \ + cp *.c $(top_srcdir)/src/ranap/; \ + fi |