2003-10-08 14:34:09 +00:00
|
|
|
# this file adds rules for installing html subtrees
|
|
|
|
# I really don't like this hack, but automake doesn't seem to want to
|
|
|
|
# install directory trees :(
|
|
|
|
|
2003-11-16 20:14:29 +00:00
|
|
|
if DOC_HTML
|
2003-10-08 15:04:51 +00:00
|
|
|
install-data-local: html
|
2003-12-02 18:21:35 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
|
|
|
cp -pr $(HTML_DAT) $(DESTDIR)$(docdir)
|
2003-10-08 14:34:09 +00:00
|
|
|
|
|
|
|
uninstall-local:
|
2003-12-02 18:21:35 +00:00
|
|
|
for part in $(HTML_DAT); do rm -rf $(DESTDIR)$(docdir)/$$part; done
|
2003-12-14 22:27:25 +00:00
|
|
|
if test -d $(DESTDIR)$(docdir); then rmdir $(DESTDIR)$(docdir); fi
|
2003-11-16 20:14:29 +00:00
|
|
|
else
|
|
|
|
install-data-local:
|
|
|
|
uninstall-local:
|
|
|
|
endif
|