Skip to content

Commit

Permalink
import automake fix from trunk
Browse files Browse the repository at this point in the history
svn path=/branches/SuSE-Code-11-Branch/ldap-server/; revision=58610
  • Loading branch information
rhafer committed Sep 10, 2009
1 parent aa9d756 commit 0937e82
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions 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.