X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=free%2Flibs%2FMakefile;h=afd3d6f09391f297d65f1af73c56a4a424caa344;hb=ef73af52664b2b0db6922d3258c7a515a26a600c;hp=41eef5f94b17fa2997150b45ddfa069aeab91535;hpb=dbc76b7fafe8711395feb7648bef83550b404dd0;p=libucw.git diff --git a/free/libs/Makefile b/free/libs/Makefile index 41eef5f9..afd3d6f0 100644 --- a/free/libs/Makefile +++ b/free/libs/Makefile @@ -20,7 +20,13 @@ include $(s)/ucw/Makefile ifndef CONFIG_UCW_ONLY # Install config files -CONFIGS+=sherlock local +FREE_CONFIGS=sherlock local +CONFIGS+=$(FREE_CONFIGS) + +INSTALL_TARGETS+=install-configs +install-configs: + install -d -m 755 $(DESTDIR)$(INSTALL_CONFIG_DIR) + install -m 644 $(addprefix run/cf/,$(FREE_CONFIGS)) $(DESTDIR)$(INSTALL_CONFIG_DIR) # Set up names of common libraries (to avoid forward references in rules) LIBCHARSET=$(o)/charset/libcharset.pc @@ -49,7 +55,7 @@ libs: $(LIBUCW) $(LIBSH) $(LIBIMAGES) $(LIBCHARSET) $(LIBLANG) include $(s)/build/Makebottom ifndef CONFIG_LOCAL -install: $(INSTALL_TARGETS) +install: all $(INSTALL_TARGETS) else install: @echo "Nothing to install, this is a local build." && false