docdir is no good either, fix. Autofoo cleanups.

SVN revision: 38862
This commit is contained in:
Kim Woelders 2009-01-31 11:13:31 +00:00
parent 61e7497cff
commit 59b0da27a5
3 changed files with 12 additions and 10 deletions

View File

@ -1,6 +1,8 @@
AUTOMAKE_OPTIONS = foreign
MAINTAINERCLEANFILES = aclocal.m4 config.* configure depcomp \
ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = aclocal.m4 config.* compile configure depcomp \
install-sh ltmain.sh missing mkinstalldirs \
Makefile.in */Makefile.in */*/Makefile.in \
po/Makefile.in.in po/Makevars.template po/Rules-quot \
@ -16,8 +18,3 @@ sample-scripts/testroller.pl \
sample-scripts/shade-pagers.pl \
AUTHORS COMPLIANCE COPYING ChangeLog README \
docs/README-0.16.8
ACLOCAL_AMFLAGS = -I m4
changelog:
cvs2cl --gmt --no-hide-branch-additions --separate-header --no-indent

View File

@ -1,18 +1,21 @@
if HAVE_XMLTO
doc_DATA = index.html
e16docdir = ${datadir}/doc/${PACKAGE}
e16doc_DATA = index.html
EXTRA_DIST = README-0.16.8.xml
CLEANFILES = *.html
index.html: README-0.16.8.xml
$(XMLTO) html $<
install-data-local:
mkdir -p $(DESTDIR)$(docdir)
cp *.html $(DESTDIR)$(docdir)/
mkdir -p $(DESTDIR)$(e16docdir)
cp *.html $(DESTDIR)$(e16docdir)/
uninstall-local:
rm -f $(DESTDIR)$(docdir)/*.html
rm -f $(DESTDIR)$(e16docdir)/*.html
rm -f *.html
endif

View File

@ -17,6 +17,8 @@ xsessiondir = $(datadir)/xsessions
EXTRA_DIST = $(DESKTOPS_IN) $(XCLIENTS) $(SCRIPTS) $(ICONS)
CLEANFILES = $(DESKTOPS)
e16.desktop: $(top_srcdir)/misc/e16.desktop.in Makefile
e16-gnome.desktop: $(top_srcdir)/misc/e16-gnome.desktop.in Makefile
e16-kde.desktop: $(top_srcdir)/misc/e16-kde.desktop.in Makefile