linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Make install
@ 2001-06-11  8:44 Chmouel Boudjnah
  0 siblings, 0 replies; only message in thread
From: Chmouel Boudjnah @ 2001-06-11  8:44 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-11  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-11  8:44 Make install Chmouel Boudjnah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).