Project

General

Profile

Download (1.1 KB) Statistics
| Branch: | Tag: | Revision:
1 ce0473f5 Dimitri Stolnikov
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
2
ACLOCAL_AMFLAGS = -I m4
3
4
INCLUDES = $(all_includes) -I$(top_srcdir)/include
5
SUBDIRS = include src
6
7
pkgconfigdir = $(libdir)/pkgconfig
8
pkgconfig_DATA = libosmosdr.pc
9
10
BUILT_SOURCES = $(top_srcdir)/.version
11
$(top_srcdir)/.version:
12
	echo $(VERSION) > $@-t && mv $@-t $@
13
dist-hook:
14
	echo $(VERSION) > $(distdir)/.tarball-version
15
16 d79e4f8d Dimitri Stolnikov
install-udev-rules:
17 cd37e9fa Dimitri Stolnikov
	$(INSTALL_DATA) osmosdr.rules /etc/udev/rules.d
18 d79e4f8d Dimitri Stolnikov
19
uninstall-udev-rules:
20 cd37e9fa Dimitri Stolnikov
	rm -rf /etc/udev/rules.d/osmosdr.rules
21 d79e4f8d Dimitri Stolnikov
22
EXTRA_DIST = git-version-gen
23 ce0473f5 Dimitri Stolnikov
24
if HAVE_DOXYGEN
25
26
pkgdocdir=$(docdir)/$(PACKAGE)-$(VERSION)
27
doc_htmldir=$(pkgdocdir)/html
28
29
doc_html_DATA = $(top_builddir)/doc/html.tar
30
31
$(doc_html_DATA): $(top_builddir)/doc/html/index.html
32
	cd $(top_builddir)/doc && tar cf html.tar html
33
34
$(top_builddir)/doc/html/index.html: $(SOURCES) Doxyfile
35
	@rm -rf doc
36
	mkdir -p doc
37
	$(DOXYGEN) Doxyfile
38
39
install-data-hook:
40
	cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar --strip-components 1 && rm -f html.tar
41
42
uninstall-hook:
43
	cd $(DESTDIR) && rm -rf $(doc_htmldir)
44
45
DX_CLEAN = doc/{html,latex}/* doc/html.tar
46
47
endif
48
49
MOSTLYCLEANFILES = $(DX_CLEAN)
Add picture from clipboard (Maximum size: 48.8 MB)