diff options
-rw-r--r-- | contrib/hellos/Makefile.am | 23 | ||||
-rw-r--r-- | contrib/services/openrc/Makefile.am | 11 | ||||
-rw-r--r-- | contrib/services/systemd/Makefile.am | 11 |
3 files changed, 16 insertions, 29 deletions
diff --git a/contrib/hellos/Makefile.am b/contrib/hellos/Makefile.am index 18a6458fe..d498d57e7 100644 --- a/contrib/hellos/Makefile.am +++ b/contrib/hellos/Makefile.am @@ -1,22 +1,7 @@ -# This Makefile.am is in the public domain - 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 +pkghello_DATA = \ + DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0 -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 +EXTRA_DIST = + $(pkghello_DATA) diff --git a/contrib/services/openrc/Makefile.am b/contrib/services/openrc/Makefile.am index a02854384..3cd57dac7 100644 --- a/contrib/services/openrc/Makefile.am +++ b/contrib/services/openrc/Makefile.am @@ -1,6 +1,7 @@ -pkginitddir= $(pkgdatadir)/services/openrc +pkginitdir= $(pkgdatadir)/services/openrc -install-data-local: - $(mkinstalldirs) $(DESTDIR)$(pkginitdir) - @$(NORMAL_INSTALL) - $(INSTALL_DATA) gnunet.initd $(DESTDIR)$(pkginitdir) +pkginit_DATA = \ + gnunet.initd + +EXTRA_DIST = \ + $(pkginit_DATA) diff --git a/contrib/services/systemd/Makefile.am b/contrib/services/systemd/Makefile.am index 7120f6f52..39a6f2a81 100644 --- a/contrib/services/systemd/Makefile.am +++ b/contrib/services/systemd/Makefile.am @@ -1,6 +1,7 @@ -pkginitddir= $(pkgdatadir)/services/systemd +pkginitdir= $(pkgdatadir)/services/systemd -install-data-local: - $(mkinstalldirs) $(DESTDIR)$(pkginitdir) - @$(NORMAL_INSTALL) - $(INSTALL_DATA) gnunet.service $(DESTDIR)$(pkginitdir) +pkginit_DATA = \ + gnunet.service + +EXTRA_DIST = \ + $(pkginit_DATA) |