# -*- makefile -*- Automake include file
# $Id: autodocs-ycp.ami 23438 2005-05-17 16:31:21Z mvidner $

# Builds source documentation for YCP sources
# Uses ycpdoc
# PARAMETERS:
#   AUTODOCS_YCP: Files that the ycp autodocs is built from
#   		  Optional - the default is $(srcdir)/../../src/*.ycp

htmldir = $(docdir)/autodocs

html_DATA = index.html $(wildcard *.html)
CLEANFILES = $(html_DATA)

AUTODOCS_YCP ?= $(srcdir)/../../src/*.ycp
index.html: $(AUTODOCS_YCP)
	${YCPDOC} -d. $^