diff options
Diffstat (limited to 'contrib/hellos/Makefile.am')
-rw-r--r-- | contrib/hellos/Makefile.am | 22 |
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 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | |||
3 | pkghellodir= $(pkgdatadir)/hellos | ||
4 | |||
5 | install-data-local: | ||
6 | $(mkinstalldirs) $(DESTDIR)$(pkghellodir) | ||
7 | @$(NORMAL_INSTALL) | ||
8 | for hello in $(srcdir)/hellos/*; do \ | ||
9 | if test -f $$hello; then \ | ||
10 | $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \ | ||
11 | fi \ | ||
12 | done | ||
13 | |||
14 | dist-hook: | ||
15 | if test -d $(srcdir)/hellos; then \ | ||
16 | mkdir -p $(distdir)/hellos; \ | ||
17 | for hello in $(srcdir)/hellos/*; do \ | ||
18 | if test -f $$hello; then \ | ||
19 | cp -p $$hello $(distdir)/hellos; \ | ||
20 | fi \ | ||
21 | done \ | ||
22 | fi | ||