doc: use $(DESTDIR)

Forgot the $(DESTDIR) prefix in the install-data-local target.
This commit is contained in:
Max Kellermann 2009-02-13 09:50:42 +01:00
parent ef64449cb6
commit beaf860a17

View File

@ -22,7 +22,7 @@ clean-local:
rm -rf api
install-data-local: api/html/index.html
$(mkinstalldirs) $(docdir)/api/html
$(INSTALL_DATA) -c -m 644 api/html/*.html api/html/*.css api/html/*.png api/html/*.gif $(docdir)/api/html
$(mkinstalldirs) $(DESTDIR)$(docdir)/api/html
$(INSTALL_DATA) -c -m 644 api/html/*.html api/html/*.css api/html/*.png api/html/*.gif $(DESTDIR)$(docdir)/api/html
endif