hotplug modularization: move sources to a subdir
authorOron Peled <oron.peled@xorcom.com>
Thu, 16 Jan 2014 10:29:04 +0000 (12:29 +0200)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 23 Jan 2014 10:35:59 +0000 (12:35 +0200)
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>

Makefile
hotplug/dahdi_handle_device [moved from dahdi_handle_device with 100% similarity]
hotplug/dahdi_span_config [moved from dahdi_span_config with 100% similarity]

index 144b292..f3ce6df 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -231,7 +231,7 @@ ifeq (,$(wildcard $(DESTDIR)$(CONFIG_FILE)))
        $(INSTALL) -m 644 system.conf.sample $(DESTDIR)$(CONFIG_FILE)
 endif
        install -d $(DESTDIR)$(DATA_DIR)
-       install $(ASSIGNED_DATA_SCRIPTS) $(DESTDIR)$(DATA_DIR)/
+       tar cf - -C hotplug $(ASSIGNED_DATA_SCRIPTS) | tar xf - -C $(DESTDIR)$(DATA_DIR)/
        install $(ASSIGNED_UTILS) $(DESTDIR)/$(BIN_DIR)/
        install -m 644 $(ASSIGNED_CONF) $(DESTDIR)/$(CONFIG_DIR)/
 
similarity index 100%
rename from dahdi_span_config
rename to hotplug/dahdi_span_config