X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=contrib%2FMakefile.am;h=d5797adb46ab55c6c2f11fabc440cf6d97da9596;hb=44b8d8ba26751ee0908e89080267e272dd7b00b7;hp=0ee7c4922b040f89459ae68837bf992a80260427;hpb=29c724d2a7764f83fe846b418d09540348b86983;p=oweals%2Fgnunet.git diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 0ee7c4922..d5797adb4 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -21,13 +21,14 @@ EXTRA_DIST = \ hostlist.cgi \ hostlist.php \ report.sh \ + testing_hostkeys.dat \ gnunet_pyexpect.py.in \ gnunet_janitor.py.in do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' %.py: %.py.in Makefile - $(do_subst) < $(srcdir)/$< > $@ + $(do_subst) < $< > $@ chmod +x $@ # init_gnunet_redhat \ @@ -43,4 +44,26 @@ check_PROGRAMS = \ test_gnunet_prefix test_gnunet_prefix_SOURCES = \ - test_gnunet_prefix.c \ No newline at end of file + test_gnunet_prefix.c + +pkghellodir= $(pkgdatadir)/hellos + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(pkghellodir) + @$(NORMAL_INSTALL) + for hello in $(srcdir)/hellos/*; do \ + if test -f $$hello; then \ + $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \ + fi \ + done + +dist-hook: + if test -d $(srcdir)/hellos; then \ + mkdir -p $(distdir)/hellos; \ + for hello in $(srcdir)/hellos/*; do \ + if test -f $$hello; then \ + cp -p $$hello $(distdir)/hellos; \ + fi \ + done \ + fi +