pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/42217?usp=email )
Change subject: Makefile.am: Avoid removing tcap.h during make -C src/ regen
......................................................................
Makefile.am: Avoid removing tcap.h during make -C src/ regen
That header is ours and is the public entry towards the library.
Change-Id: I89a34ef61e6f74ba7482a5abcf55404c157a14fb
---
M src/Makefile.am
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-asn1-tcap
refs/changes/17/42217/1
diff --git a/src/Makefile.am b/src/Makefile.am
index ef91d4b..6c2f830 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -210,7 +210,9 @@
regen: regenerate-from-asn1-source
regenerate-from-asn1-source:
- rm -f $(top_srcdir)/src/gen/*.c $(top_srcdir)/include/osmocom/tcap/*.h
+ rm -f $(top_srcdir)/src/gen/*.c
+# Remove all .h files except our tcap.h:
+ find $(top_srcdir)/include/osmocom/tcap/ -type f -name '*.h' -type f
-not -name 'tcap.h' -delete
ASN1C_PREFIX="TCAP_" ${ASN1C_BIN_PATH} \
-S $(ASN1C_SKELETON_PATH) \
-D $(top_srcdir)/src/gen \
--
To view, visit https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/42217?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-asn1-tcap
Gerrit-Branch: master
Gerrit-Change-Id: I89a34ef61e6f74ba7482a5abcf55404c157a14fb
Gerrit-Change-Number: 42217
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>