Permalink
Browse files

import automake fix from trunk

svn path=/branches/SuSE-Code-11-Branch/ldap-server/; revision=58610
  • Loading branch information...
1 parent aa9d756 commit 0937e82d01e2e007745b9363ebc0b5079e4ba0a3 @rhafer rhafer committed Sep 10, 2009
Showing with 3 additions and 18 deletions.
  1. +3 −18 doc/autodocs/Makefile.am
View
21 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

0 comments on commit 0937e82

Please sign in to comment.