Commit e136ad9b5176a8008fd9f81dc103e9e9f4f6b2f6

Authored by Jürgen Knödlseder
1 parent aeaaea03

Update documentation section of Makefile.am

Showing 1 changed file with 15 additions and 19 deletions
Makefile.am
... ... @@ -169,18 +169,18 @@ sphinx-install:
169 169 doc: doxygen sphinx
170 170  
171 171 # Non-Automake subdirectories to distribute
172   -DISTDIRS = doc/html doc/html/images
173   -dist-hook:
174   - ( \
175   - builddir=`pwd` ; \
176   - cd $(srcdir) && \
177   - ( \
178   - for dir in $(DISTDIRS) ; do \
179   - find $$dir -depth -print | egrep -v '(~$$)|(/CVS)|(/\.#)|(/\.deps)' \
180   - | cpio -pdum $$builddir/$(distdir) 2> /dev/null ; \
181   - done \
182   - ) \
183   - )
  172 +#DISTDIRS = doc/html doc/html/images
  173 +#dist-hook:
  174 +# ( \
  175 +# builddir=`pwd` ; \
  176 +# cd $(srcdir) && \
  177 +# ( \
  178 +# for dir in $(DISTDIRS) ; do \
  179 +# find $$dir -depth -print | egrep -v '(~$$)|(/CVS)|(/\.#)|(/\.deps)' \
  180 +# | cpio -pdum $$builddir/$(distdir) 2> /dev/null ; \
  181 +# done \
  182 +# ) \
  183 +# )
184 184  
185 185 # Add Doxygen rules
186 186 if DX_COND_doc
... ... @@ -312,16 +312,11 @@ DX_CLEANFILES = \
312 312  
313 313 endif #DX_COND_doc
314 314  
315   -#
316   -# Additional install rules
317   -#
318   -
319 315 # Install HTML files
320   -#HTMLDIRS = html
321   -HTMLDIRS =
  316 +HTMLDIRS = html
322 317 HTML_INSTALL_DATA_TARGETS = install-data-html
323 318 install-data-html:
324   - $(mkinstalldirs) $(DESTDIR)$(docdir)
  319 + $(mkinstalldirs) $(DESTDIR)$(docdir)/html/doxygen
325 320 @for dir in $(HTMLDIRS) ; do \
326 321 $(mkinstalldirs) $(DESTDIR)$(docdir)/$$dir && \
327 322 for file in $(srcdir)/doc/$$dir/*.* ; do \
... ... @@ -333,6 +328,7 @@ install-data-html:
333 328 # Uninstall HTML files
334 329 HTML_UNINSTALL_DATA_TARGETS = uninstall-data-html
335 330 uninstall-data-html:
  331 + rm -f $(DESTDIR)$(docdir)/html/doxygen
336 332 for dir in $(HTMLDIRS) ; do \
337 333 rm -f -r $(DESTDIR)$(docdir)/$$dir ; \
338 334 done
... ...