-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathMakefile.am
73 lines (57 loc) · 1.75 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
SUBDIRS = include lib
if MUPNP_ENABLE_EXAMPLES
SUBDIRS += examples
endif
if MUPNP_ENABLE_TEST
SUBDIRS += test
endif
##############################
# Code coverage
##############################
# include $(top_srcdir)/aminclude_static.am
CFLAGS="$CFLAGS $(CODE_COVERAGE_CFLAGS)"
CPPFLAGS="$CPPFLAGS $(CODE_COVERAGE_CPPFLAGS)"
CXXFLAGS="$CXXFLAGS $(CODE_COVERAGE_CXXFLAGS)"
# clean-local: code-coverage-clean
# distclean-local: code-coverage-dist-clean
##############################
# Dist
##############################
devdocsdir = $(datadir)/doc/mupnp-dev
docsdir = $(datadir)/doc/mupnp0
EXTRA_DIST = debian/changelog \
debian/mupnp0.install \
debian/mupnp-dev.install \
debian/compat \
debian/control \
debian/copyright \
debian/rules \
debian/docs \
include/cybergarage/upnp/cupnp.h.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mupnp.pc
dist_docs_DATA = \
COPYING
dist_devdocs_DATA = \
ChangeLog \
COPYING \
Doxyfile
#nobase_devdocs_DATA = \
# doxygen/html/* \
# doxygen-objc/html/*
deb: dist
-mkdir $(top_builddir)/debian-build
-cp $(top_builddir)/../$(PACKAGE)*.orig.tar.gz $(top_builddir)/debian-build/
cd $(top_builddir)/debian-build && tar zxf ../$(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
cd $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot -sa -D
-rm -rf $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION)
##############################
# Doxygen
##############################
doxygen: doxygen/html/* doxygen/html/*
doxygen/html/*:
cd $(srcdir) && doxygen Doxyfile
# scp -r doxygen skonno,[email protected]:/home/groups/c/cl/clinkc/htdocs
doxygen-objc/html/*:
cd $(srcdir) && doxygen Doxyfile.objc
# scp -r doxygen-objc skonno,[email protected]:/home/groups/c/cl/clinkobjc/htdocs