Permalink
Browse files

Makefile.am: simplify (de)installation of doxygen-generated documenta…

…tion

This also fixes installation when no *.gif files found in 'doc/api/html' folder.

Signed-off-by: Serge Ziryukin <ftrvxmtrx@gmail.com>
  • Loading branch information...
1 parent 0a5f793 commit 8985c5fe9b135982740e59ca41a1530301319759 @ftrvxmtrx ftrvxmtrx committed with MaxKellermann Jul 12, 2010
Showing with 2 additions and 6 deletions.
  1. +2 −6 Makefile.am
View
@@ -140,15 +140,11 @@ mostlyclean-local:
install-data-local: doc/api/html/index.html
$(mkinstalldirs) $(DESTDIR)$(docdir)/html
- $(INSTALL_DATA) -c -m 644 doc/api/html/*.html doc/api/html/*.css \
- doc/api/html/*.png doc/api/html/*.gif \
+ $(INSTALL_DATA) -c -m 644 doc/api/html/*.* \
$(DESTDIR)$(docdir)/html
uninstall-local:
- rm -f $(DESTDIR)$(docdir)/html/*.html \
- $(DESTDIR)$(docdir)/html/*.css \
- $(DESTDIR)$(docdir)/html/*.gif \
- $(DESTDIR)$(docdir)/html/*.png
+ rm -f $(DESTDIR)$(docdir)/html/*.*
upload: doc/api/html/index.html
rsync -vpruz --delete doc/api/html/ \

0 comments on commit 8985c5f

Please sign in to comment.