]> mj.ucw.cz Git - libucw.git/commitdiff
Install libs-only config files
authorMichal Vaner <vorner@ucw.cz>
Sun, 5 Oct 2008 08:23:44 +0000 (10:23 +0200)
committerMichal Vaner <vorner@ucw.cz>
Wed, 8 Oct 2008 12:57:15 +0000 (14:57 +0200)
free/libs/Makefile

index 41eef5f94b17fa2997150b45ddfa069aeab91535..7f91ca0242b1e06e5286cb457aa4f135cef3eb09 100644 (file)
@@ -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