diff --git a/doc/autodocs/Makefile.am b/doc/autodocs/Makefile.am index 668726a..dca717a 100644 --- a/doc/autodocs/Makefile.am +++ b/doc/autodocs/Makefile.am @@ -1,19 +1,4 @@ -# Makefile.am for ldap-server/doc/autodocs +# Makefile.am for YCP module .../doc/autodocs -htmldir = $(docdir)/autodocs - -index.html: $(srcdir)/../../src/*.ycp $(srcdir)/../../src/*.pm - $(ybindir)/ycpdoc -d. $(srcdir)/../../src/*.ycp - for i in `find $(srcdir)/../../src/ -name "*.pm"` ; do \ - RET=`grep =head1 $$i` ; \ - if [ $$? -eq 0 ] ; then \ - NAME=`grep -m 1 '^package' $$i | sed 's/package //' | sed 's/;//'` ; \ - NAME2=`echo $$NAME | sed 's/::/-/'` ; \ - /usr/bin/pod2html --title $$NAME $$i > ./$$NAME2.html ; \ - fi ; \ - done - rm -f *.tmp - -html_DATA = index.html $(wildcard *.html) - -CLEANFILES = $(html_DATA) +AUTODOCS_PM = $(srcdir)/../../src/YaPI/*.pm +include $(top_srcdir)/autodocs-ycp.ami