2011-10-14 22:29:47 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2013-06-11 12:27:29 +00:00
|
|
|
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
|
2011-10-14 22:29:47 +00:00
|
|
|
SUBDIRS = include src
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2012-04-14 19:14:07 +00:00
|
|
|
pkgconfig_DATA = libosmodsp.pc
|
2011-10-14 22:29:47 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
|
|
$(top_srcdir)/.version:
|
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
|
2014-10-05 08:54:12 +00:00
|
|
|
EXTRA_DIST = git-version-gen .version
|
2011-10-14 22:29:47 +00:00
|
|
|
|
|
|
|
if HAVE_DOXYGEN
|
|
|
|
|
2012-07-04 11:15:47 +00:00
|
|
|
html_DATA = $(top_builddir)/doc/html.tar
|
2011-10-14 22:29:47 +00:00
|
|
|
|
2012-07-04 11:15:47 +00:00
|
|
|
$(html_DATA): $(top_builddir)/doc/html/index.html
|
2011-10-14 22:29:47 +00:00
|
|
|
cd $(top_builddir)/doc && tar cf html.tar html
|
|
|
|
|
|
|
|
$(top_builddir)/doc/html/index.html: $(SOURCES) Doxyfile
|
|
|
|
@rm -rf doc
|
|
|
|
mkdir -p doc
|
|
|
|
$(DOXYGEN) Doxyfile
|
|
|
|
|
|
|
|
install-data-hook:
|
2012-07-04 11:15:47 +00:00
|
|
|
cd $(DESTDIR)$(htmldir) && tar xf html.tar --strip-components 1 && rm -f html.tar
|
2011-10-14 22:29:47 +00:00
|
|
|
|
|
|
|
uninstall-hook:
|
2012-07-04 11:15:47 +00:00
|
|
|
rm -rf $(DESTDIR)$(htmldir)
|
2011-10-14 22:29:47 +00:00
|
|
|
|
|
|
|
DX_CLEAN = doc/{html,latex}/* doc/html.tar
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
MOSTLYCLEANFILES = $(DX_CLEAN)
|