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

12345678910111213141516171819202122232425262728293031323334353637
  1. From d347deb0376a3254d7cd8bbfe46dd645d1bf1061 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: Julien Olivain <ju.o@free.fr>
  12. [Julien: rebase patch on tag 20.7.0]
  13. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
  14. ---
  15. Makefile | 2 +-
  16. 1 file changed, 1 insertion(+), 1 deletion(-)
  17. diff --git a/Makefile b/Makefile
  18. index 7ef73342cc..bb60f5e380 100644
  19. --- a/Makefile
  20. +++ b/Makefile
  21. @@ -819,7 +819,7 @@ adsi:
  22. $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
  23. done
  24. -samples: adsi
  25. +samples: adsi datafiles
  26. @echo Installing other config files...
  27. $(call INSTALL_CONFIGS,configs/samples,.sample)
  28. $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX"
  29. --
  30. 2.45.2