summaryrefslogtreecommitdiff
path: root/contrib/hellos/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hellos/Makefile.am')
-rw-r--r--contrib/hellos/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/hellos/Makefile.am b/contrib/hellos/Makefile.am
new file mode 100644
index 000000000..18a6458fe
--- /dev/null
+++ b/contrib/hellos/Makefile.am
@@ -0,0 +1,22 @@
+# 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
+
+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