• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is part of libdaemon.
2#
3# Copyright 2003-2008 Lennart Poettering
4#
5# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to deal
7# in the Software without restriction, including without limitation the rights
8# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9# copies of the Software, and to permit persons to whom the Software is
10# furnished to do so, subject to the following conditions:
11#
12# The above copyright notice and this permission notice shall be included in
13# all copies or substantial portions of the Software.
14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21# SOFTWARE.
22
23ACLOCAL_AMFLAGS = -I m4
24
25EXTRA_DIST=bootstrap.sh LICENSE
26SUBDIRS=libdaemon doc
27
28if EXAMPLES
29SUBDIRS += examples
30endif
31
32pkgconfigdir = $(libdir)/pkgconfig
33pkgconfig_DATA = pkgconfig/libdaemon.pc
34
35dist_noinst_DATA =
36MAINTAINERCLEANFILES=
37
38if USE_LYNX
39dist_noinst_DATA += README
40MAINTAINERCLEANFILES += README
41
42README:
43	rm -f README
44	$(MAKE) -C doc README
45	ln -s doc/README README
46endif
47
48doxygen:
49	$(MAKE) -C doc doxygen
50
51homepage: dist doxygen
52	test -d $$HOME/homepage/private
53	mkdir -p $$HOME/homepage/private/projects/libdaemon
54	cp libdaemon-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/libdaemon
55	cp doc/README.html doc/style.css $$HOME/homepage/private/projects/libdaemon
56	ln -sf README.html $$HOME/homepage/private/projects/libdaemon/index.html
57	cp -av doc/reference/ $$HOME/homepage/private/projects/libdaemon/
58
59.PHONY: homepage doxygen
60