From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chmouel Boudjnah Date: Mon, 11 Jun 2001 08:44:17 +0000 Subject: Make install Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, Would be possible to commit this patch to be able to test in locale without need to do a rpm. Index: /home/chmou/dev/hotplug/Makefile =================================RCS file: /home/chmou/work/cvs/base/hotplug/Makefile,v retrieving revision 1.1.1.1 diff -u -u -r1.1.1.1 Makefile --- /home/chmou/dev/hotplug/Makefile 11 Jun 2001 08:07:24 -0000 1.1.1.1 +++ /home/chmou/dev/hotplug/Makefile 11 Jun 2001 08:42:24 -0000 @@ -1,5 +1,12 @@ # $Id: Makefile,v 1.1.1.1 2001/06/11 08:07:24 chmou Exp $ +TOPDIR=/ +DIRS= /sbin \ + /etc/hotplug \ + /etc/init.d/ \ + /var/run/usb \ + /usr/share/man/man8 + # New style, /etc/hotplug # Driven by modutils output, and (for USB) exceptions DISTRIB_FILES = \ @@ -37,3 +44,11 @@ clean: rm -f $(NAME)-*.tar.gz Log +install: + for i in $(DIRS);do install -m 755 -d $(TOPDIR)/$$i;done + chmod 0700 $(TOPDIR)/var/run/usb + + for i in sbin/*;do [[ -d $$i ]] && continue;install -m755 $$i $(TOPDIR)/sbin/;done + for i in etc/hotplug/*;do [[ $$i = *CVS* ]] && continue;cp -a -r $$i $(TOPDIR)/etc/hotplug;done + for i in etc/rc.d/init.d/*;do [[ $$i = *CVS* ]] && continue;cp -a -r $$i $(TOPDIR)/etc/init.d/;done + install -m644 *.8 $(TOPDIR)/usr/share/man/man8 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel