We think that building and installing the documentation should not
be the default behavior but reserved to interested users
docs: usr_docs
-install-data-local: usr_docs
- $(INSTALL) -d $(DESTDIR)$(docdir)/gui
- cp -rp KERNEL $(DESTDIR)$(docdir)/gui
+install-data-local:
+ if test -d KERNEL; then \
+ $(INSTALL) -d $(DESTDIR)$(docdir)/gui ; \
+ cp -rp KERNEL $(DESTDIR)$(docdir)/gui ; \
+ fi
uninstall-local:
rm -rf $(DESTDIR)$(docdir)/gui/KERNEL