X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=free%2Flibs%2FMakefile;h=5690e9cd72d05094cab0b35a62ce7ec50ac26acc;hb=ca1e06ed14e04fe2bcff4dca15cdea1e65a5ab65;hp=12163bd5e707a91d033cfe853d80293d18225367;hpb=6c0e6f3b91ed669384f7fe894e4bb4891ffa6440;p=libucw.git diff --git a/free/libs/Makefile b/free/libs/Makefile index 12163bd5..5690e9cd 100644 --- a/free/libs/Makefile +++ b/free/libs/Makefile @@ -49,16 +49,18 @@ endif endif +# Build documentation by default? +ifdef CONFIG_DOC +all: docs +endif + libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG) # And finally the default rules of the build system include $(s)/build/Makebottom ifndef CONFIG_LOCAL -install: $(INSTALL_TARGETS) - install -d -m 755 $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw - install -m 644 obj/autoconf.h $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw - +install: all $(INSTALL_TARGETS) else install: @echo "Nothing to install, this is a local build." && false