diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 469601c3..7d084324 100644 --- a/Makefile.am +++ b/Makefile.am @@ -242,6 +242,10 @@ install-data-local: do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/transport/$$f; done) (cd $(srcdir)/runtime/uprobes; for f in Makefile *.[ch]; \ do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/uprobes/$$f; done) + if getent group stap-server >/dev/null; then \ + chgrp stap-server $(DESTDIR)$(pkgdatadir)/runtime/uprobes && \ + chmod 775 $(DESTDIR)$(pkgdatadir)/runtime/uprobes; \ + fi (cd $(srcdir)/runtime/uprobes2; for f in *.[ch]; \ do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/uprobes2/$$f; done) (cd $(srcdir)/tapset; find . \( -name '*.stp' -o -name README \) -print \ |