diff --git a/Makefile.am b/Makefile.am index e0a5641..c45abc3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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