LP#1544606: Copy the new directories we make for locales
authorBen Shum <ben@evergreener.net>
Wed, 17 Feb 2016 18:39:22 +0000 (13:39 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 17 Feb 2016 19:18:43 +0000 (14:18 -0500)
Make it cp -r to copy the directories and not just the files (of which
there won't be any by default).

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/Makefile.am

index 4e62684..6c4cf07 100644 (file)
@@ -250,7 +250,7 @@ ilscore-install:
        -@if test -d @srcdir@/data/locale; then \
                $(MKDIR_P) $(DESTDIR)$(datadir)/locale/ && \
                echo "Installing template data files to $(datadir)/locale/" && \
-               cp @srcdir@/data/locale/* $(datadir)/locale/ ;\
+               cp -r @srcdir@/data/locale/* $(datadir)/locale/ ;\
        fi;
        $(MKDIR_P) $(DESTDIR)$(datadir)/overdue/
        sed -i 's|LOCALSTATEDIR|@localstatedir@|g' '$(DESTDIR)@sysconfdir@/oils_sip.xml.example'