diff --git a/Makefile.am b/Makefile.am index 0c558ae..964b401 100644 --- a/Makefile.am +++ b/Makefile.am @@ -160,3 +160,7 @@ CLEANFILES += $(BUILT_SOURCES) dist-hook: rm -vf `find $(top_distdir) -name '*.pb-c.[ch]' -o -name '*.pb.cc' -o -name '*.pb.h'` + +install-data-hook: + mkdir -p $(DESTDIR)$(includedir)/google + ln -sf ../protobuf-c $(DESTDIR)$(includedir)/google/