Commit 5cb061eb authored by Serge Ziryukin's avatar Serge Ziryukin Committed by Max Kellermann

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

This also fixes installation when no *.gif files found in 'doc/api/html' folder.
parent 12f4225d
......@@ -1113,10 +1113,12 @@ clean-local:
install-data-local: doc/api/html/index.html
$(mkinstalldirs) $(DESTDIR)$(docdir)/api/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)/api/html
uninstall-local:
rm -f $(DESTDIR)$(docdir)/api/html/*.*
upload: $(DOCBOOK_HTML) doc/api/html/index.html
rsync -vpruz --delete doc/ cirrus@www.musicpd.org:/var/www/musicpd.org/www/doc/ \
--chmod=Dug+rwx,Do+rx,Fug+rw,Fo+r \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment