hardware/intel/libva
Revisión | 254f05c124094b544aaa2b92ed3bb17acf56e771 (tree) |
---|---|
Tiempo | 2014-04-25 10:54:20 |
Autor | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
Fix the broken install
install -d /usr/share/doc/libva/html
install -m 0644 html-out/* /usr/share/doc/libva/html
install: omitting directory html-out/search'
make[2]: *** [install-html-local] Error 1
make[2]: Leaving directory /home/xhh/graphics/ex/vaapi/libva/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory /home/xhh/graphics/ex/vaapi/libva/doc'
make: *** [install-recursive] Error 1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit ee948e105b97a03b60168b4e5aed3c64a14c37e6)
@@ -40,7 +40,14 @@ if ENABLE_DOCS | ||
40 | 40 | html: html-out/index.html |
41 | 41 | install-html-local: |
42 | 42 | install -d $(DESTDIR)$(docdir)/html |
43 | - install -m 0644 html-out/* $(DESTDIR)$(docdir)/html | |
43 | + for file in `ls html-out/` ; do \ | |
44 | + if test -f html-out/$$file ; then \ | |
45 | + install -m 0644 html-out/$$file $(DESTDIR)$(docdir)/html ; \ | |
46 | + else \ | |
47 | + install -d $(DESTDIR)$(docdir)/html/$$file ; \ | |
48 | + install -m 0644 html-out/$$file/* $(DESTDIR)$(docdir)/html/$$file; \ | |
49 | + fi ; \ | |
50 | + done | |
44 | 51 | uninstall-local: |
45 | 52 | rm -rf $(DESTDIR)$(docdir)/html |
46 | 53 | endif |