0004-install-samples-need-the-data-files.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 05680ea9899c2246c23d11860c2c8e10aa8f80c7 Mon Sep 17 00:00:00 2001
  2. From: "Yann E. MORIN" <yann.morin.1998@free.fr>
  3. Date: Fri, 1 Dec 2017 11:08:16 +0100
  4. Subject: [PATCH] install: samples need the data files
  5. When installing samples, "sample voicemail" is generated from the
  6. already-installed sound files.
  7. However, when doing the install and the samples at the same time in a
  8. parallel install, it is possible that the sound files are not already
  9. installed at the time we try to generate the voicemail data.
  10. Ensure the needed dependency.
  11. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
  12. ---
  13. Makefile | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/Makefile b/Makefile
  16. index f29c07f680..b58f707b61 100644
  17. --- a/Makefile
  18. +++ b/Makefile
  19. @@ -779,7 +779,7 @@ adsi:
  20. $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
  21. done
  22. -samples: adsi
  23. +samples: adsi datafiles
  24. @echo Installing other config files...
  25. $(call INSTALL_CONFIGS,samples,.sample)
  26. $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX"
  27. --
  28. 2.11.0