Makefile.am: simplify (de)installation of doxygen-generated documentation
This also fixes installation when no *.gif files found in 'doc/api/html' folder.
This commit is contained in:
parent
12f4225d6b
commit
5cb061ebdf
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue