--- linuxsampler/trunk/Makefile.am 2005/05/24 19:20:20 579 +++ linuxsampler/trunk/Makefile.am 2007/04/16 15:51:18 1161 @@ -1,11 +1,33 @@ -# not a GNU package. You can remove this line, if -# have all needed files, that a GNU package needs -AUTOMAKE_OPTIONS = foreign 1.4 +# require automake (>= 1.5) due to 'dist-bzip2' option +AUTOMAKE_OPTIONS = 1.5 dist-bzip2 -SUBDIRS = man src +SUBDIRS = man src scripts osx Artwork Documentation debian + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = linuxsampler.pc + +EXTRA_DIST = Doxyfile.in \ + linuxsampler.pc.in \ + linuxsampler.kdevelop \ + benchmarks/gigsynth.cpp \ + benchmarks/Makefile \ + benchmarks/triang.cpp .PHONY: parser testcases +if HAVE_SQLITE3 +have_sqlite = "yes" +else +have_sqlite = "no" +endif + +install-data-local: + @if [ ! -e "/var/lib/linuxsampler/instruments.db" -a \ + $(have_sqlite) = "yes" ] ; then ./scripts/create_instr_db.sh && \ + mkdir -p /var/lib/linuxsampler && \ + mv instruments.db /var/lib/linuxsampler ; \ + fi + # generate parser with yacc parser: @cd $(srcdir)/src/network && make $@ @@ -15,3 +37,7 @@ @cd $(srcdir)/src/testcases && make linuxsamplertest tests: testcases + +docs: Doxyfile + @echo '*** Running doxygen ***' + doxygen Doxyfile