mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 13:31:02 +08:00
protobuf-c: fix: make dist
remove .pb.{cc,h} in distdir instead of top_distdir in order to prevent removing files from other projects when protobuf-c is included as an autotools subproject. Signed-off-by: Gregory Detal <gregory.detal@tessares.net>
This commit is contained in:
parent
006d69bd84
commit
5306fc9329
@ -198,7 +198,7 @@ EXTRA_DIST += \
|
||||
CLEANFILES += $(BUILT_SOURCES)
|
||||
|
||||
dist-hook:
|
||||
rm -vf `find $(top_distdir) -name '*.pb-c.[ch]' -o -name '*.pb.cc' -o -name '*.pb.h'`
|
||||
rm -vf `find $(distdir) -name '*.pb-c.[ch]' -o -name '*.pb.cc' -o -name '*.pb.h'`
|
||||
|
||||
install-data-hook:
|
||||
$(MKDIR_P) $(DESTDIR)$(includedir)/google/protobuf-c
|
||||
|
Loading…
x
Reference in New Issue
Block a user