From cdedf024ae0984d4b0dddc76bcdb5e29f21b3040 Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Thu, 16 Jan 2014 12:29:04 +0200 Subject: [PATCH] hotplug modularization: move sources to a subdir Signed-off-by: Tzafrir Cohen Acked-by: Russ Meyerriecks --- Makefile | 2 +- dahdi_handle_device => hotplug/dahdi_handle_device | 0 dahdi_span_config => hotplug/dahdi_span_config | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename dahdi_handle_device => hotplug/dahdi_handle_device (100%) rename dahdi_span_config => hotplug/dahdi_span_config (100%) diff --git a/Makefile b/Makefile index 144b292..f3ce6df 100644 --- 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)/ diff --git a/dahdi_handle_device b/hotplug/dahdi_handle_device similarity index 100% rename from dahdi_handle_device rename to hotplug/dahdi_handle_device diff --git a/dahdi_span_config b/hotplug/dahdi_span_config similarity index 100% rename from dahdi_span_config rename to hotplug/dahdi_span_config