Skip to content
Snippets Groups Projects
Commit 477f5818 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

don't require 'make samples' to require code to be built (issue #4997)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 9e9f3ace
No related branches found
No related tags found
No related merge requests found
......@@ -675,7 +675,7 @@ install: all datafiles bininstall
upgrade: all bininstall
adsi: all
adsi:
mkdir -p $(DESTDIR)$(ASTETCDIR)
for x in configs/*.adsi; do \
if [ ! -f $(DESTDIR)$(ASTETCDIRX)/$$x ]; then \
......@@ -683,7 +683,7 @@ adsi: all
fi ; \
done
samples: all datafiles adsi
samples: adsi
mkdir -p $(DESTDIR)$(ASTETCDIR)
for x in configs/*.sample; do \
if [ -f $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` ]; then \
......@@ -719,6 +719,7 @@ samples: all datafiles adsi
else \
echo "Skipping asterisk.conf creation"; \
fi
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
for x in sounds/demo-*; do \
if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \
install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \
......@@ -727,6 +728,7 @@ samples: all datafiles adsi
exit 1; \
fi; \
done
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
for x in sounds/*.mp3; do \
install -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/mohmp3 ; \
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment