Blame Makefile.am

Packit ab56a9
# This file is part of libdaemon.
Packit ab56a9
#
Packit ab56a9
# Copyright 2003-2008 Lennart Poettering
Packit ab56a9
#
Packit ab56a9
# libdaemon is free software; you can redistribute it and/or modify it
Packit ab56a9
# under the terms of the GNU Lesser General Public License as
Packit ab56a9
# published by the Free Software Foundation, either version 2.1 of the
Packit ab56a9
# License, or (at your option) any later version.
Packit ab56a9
#
Packit ab56a9
# libdaemon is distributed in the hope that it will be useful, but
Packit ab56a9
# WITHOUT ANY WARRANTY; without even the implied warranty of
Packit ab56a9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Packit ab56a9
# Lesser General Public License for more details.
Packit ab56a9
#
Packit ab56a9
# You should have received a copy of the GNU Lesser General Public
Packit ab56a9
# License along with libdaemon. If not, see
Packit ab56a9
# <http://www.gnu.org/licenses/>.
Packit ab56a9
Packit ab56a9
ACLOCAL_AMFLAGS = -I m4
Packit ab56a9
Packit ab56a9
EXTRA_DIST=bootstrap.sh LICENSE
Packit ab56a9
SUBDIRS=libdaemon doc
Packit ab56a9
Packit ab56a9
if EXAMPLES
Packit ab56a9
SUBDIRS += examples
Packit ab56a9
endif
Packit ab56a9
Packit ab56a9
pkgconfigdir = $(libdir)/pkgconfig
Packit ab56a9
pkgconfig_DATA = pkgconfig/libdaemon.pc
Packit ab56a9
Packit ab56a9
dist_noinst_DATA =
Packit ab56a9
MAINTAINERCLEANFILES=
Packit ab56a9
Packit ab56a9
if USE_LYNX
Packit ab56a9
dist_noinst_DATA += README
Packit ab56a9
MAINTAINERCLEANFILES += README
Packit ab56a9
Packit ab56a9
README:
Packit ab56a9
	rm -f README
Packit ab56a9
	$(MAKE) -C doc README
Packit ab56a9
	ln -s doc/README README
Packit ab56a9
endif
Packit ab56a9
Packit ab56a9
doxygen:
Packit ab56a9
	$(MAKE) -C doc doxygen
Packit ab56a9
Packit ab56a9
homepage: dist doxygen
Packit ab56a9
	test -d $$HOME/homepage/private
Packit ab56a9
	mkdir -p $$HOME/homepage/private/projects/libdaemon
Packit ab56a9
	cp libdaemon-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/libdaemon
Packit ab56a9
	cp doc/README.html doc/style.css $$HOME/homepage/private/projects/libdaemon
Packit ab56a9
	ln -sf README.html $$HOME/homepage/private/projects/libdaemon/index.html
Packit ab56a9
	cp -av doc/reference/ $$HOME/homepage/private/projects/libdaemon/
Packit ab56a9
Packit ab56a9
.PHONY: homepage doxygen