From b23e1c1c17cd4bcaa8bb7217d8af6950680f5643 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 17 Jan 2008 14:10:36 +0000 Subject: [PATCH] trunk: simplify appconfig file installation. --- Makefile | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/Makefile b/Makefile index df6806ed4..1a9b611ad 100644 --- a/Makefile +++ b/Makefile @@ -513,38 +513,14 @@ $(contextpath)/files/media: $(appconf)/media @mkdir -p $(contextpath)/files/ $(verbose) $(INSTALL) -m 644 $< $@ -$(appdir)/default_contexts: $(appconf)/default_contexts - @mkdir -p $(appdir) - $(verbose) $(INSTALL) -m 644 $< $@ - -$(appdir)/removable_context: $(appconf)/removable_context - @mkdir -p $(appdir) - $(verbose) $(INSTALL) -m 644 $< $@ - -$(appdir)/default_type: $(appconf)/default_type - @mkdir -p $(appdir) - $(verbose) $(INSTALL) -m 644 $< $@ - -$(appdir)/userhelper_context: $(appconf)/userhelper_context - @mkdir -p $(appdir) - $(verbose) $(INSTALL) -m 644 $< $@ - -$(appdir)/initrc_context: $(tmpdir)/initrc_context - @mkdir -p $(appdir) - $(verbose) $(INSTALL) -m 644 $< $@ - -$(appdir)/failsafe_context: $(appconf)/failsafe_context - @mkdir -p $(appdir) - $(verbose) $(INSTALL) -m 644 $< $@ - -$(appdir)/dbus_contexts: $(appconf)/dbus_contexts - @mkdir -p $(appdir) - $(verbose) $(INSTALL) -m 644 $< $@ - $(contextpath)/users/%: $(appconf)/%_default_contexts @mkdir -p $(appdir)/users $(verbose) $(INSTALL) -m 644 $^ $@ +$(appdir)/%: $(appconf)/% + @mkdir -p $(appdir) + $(verbose) $(INSTALL) -m 644 $< $@ + ######################################## # # Install policy headers