Skip to contentSkip to conversation

Make install

PATCH Chmouel Boudjnah 1 participant 1 message Jun 11, 2001

lore
Share & tools
lore
#0 lore raw

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

home/chmou/dev/hotplug/Makefile +15 -0
diff -u -u -r1.1.1.1 Makefile
@@ -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
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel