/[svn]/linuxsampler/trunk/Makefile.am
ViewVC logotype

Diff of /linuxsampler/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1161 by iliev, Mon Apr 16 15:51:18 2007 UTC revision 1931 by persson, Sat Jul 4 14:58:34 2009 UTC
# Line 21  else Line 21  else
21  have_sqlite = "no"  have_sqlite = "no"
22  endif  endif
23    
24    if !CROSS_COMPILING
25  install-data-local:  install-data-local:
26          @if [ ! -e "/var/lib/linuxsampler/instruments.db" -a \          @if [ ! -e "$(DESTDIR)/var/lib/linuxsampler/instruments.db" -a \
27           $(have_sqlite) = "yes" ] ; then ./scripts/create_instr_db.sh && \          $(have_sqlite) = "yes" ] ; then \
28          mkdir -p /var/lib/linuxsampler && \          echo "****************************************************************"; \
29          mv instruments.db /var/lib/linuxsampler ; \          echo "*** LinuxSampler was compiled with instruments DB support and"; \
30            echo "*** $(DESTDIR)/var/lib/linuxsampler/instruments.db"; \
31            echo "*** doesn't exist yet, creating it now:"; \
32            mkdir -p $(DESTDIR)/var/lib/linuxsampler && ./src/linuxsampler \
33            --create-instruments-db $(DESTDIR)/var/lib/linuxsampler/instruments.db ; \
34          fi          fi
35    endif
36    
37  # generate parser with yacc  # generate parser with yacc
38  parser:  parser:

Legend:
Removed from v.1161  
changed lines
  Added in v.1931

  ViewVC Help
Powered by ViewVC