a3765fd17552a5938c50fe09e6012a3e29f56955
[platform/upstream/gstreamer.git] / docs / htmlinstall.mak
1 # this file adds rules for installing html subtrees
2 # I really don't like this hack, but automake doesn't seem to want to
3 # install directory trees :(
4
5 if DOC_HTML
6 install-data-local: html
7         $(mkinstalldirs) $(DESTDIR)$(docdir)
8         cp -pr $(HTML_DAT) $(DESTDIR)$(docdir)
9
10 uninstall-local:
11         for part in $(HTML_DAT); do rm -rf $(DESTDIR)$(docdir)/$$part; done
12         if test -d $(DESTDIR)$(docdir); then rmdir $(DESTDIR)$(docdir); fi
13 else
14 install-data-local:
15 uninstall-local:
16 endif