linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harald Hoyer <harald@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: cleanup PATCH for extras/chassis_id/Makefile
Date: Mon, 20 Sep 2004 13:28:56 +0000	[thread overview]
Message-ID: <414EDB18.20001@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 19 bytes --]

for "make install"

[-- Attachment #2: udev-029-chassis.patch --]
[-- Type: text/plain, Size: 567 bytes --]

--- udev-029.new/extras/chassis_id/Makefile	2004-07-02 20:17:02.000000000 +0200
+++ udev-029/extras/chassis_id/Makefile	2004-07-06 16:16:02.105342392 +0200
@@ -23,6 +23,11 @@
 CFLAGS = -g 
 TARGET = chassis_id
 
+exec_prefix =   ${prefix}
+sbindir =       ${exec_prefix}/sbin
+INSTALL = /usr/bin/install -c
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_DATA  = ${INSTALL} -m 644
 all:	chassis_id  
 
 chassis_id:	chassis_id.c table.c
@@ -30,3 +35,7 @@
 
 clean:	
 	rm -rf core a.out $(TARGET)
+
+install: all
+	$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
+ 

             reply	other threads:[~2004-09-20 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20 13:28 Harald Hoyer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-10-05 21:20 cleanup PATCH for extras/chassis_id/Makefile Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=414EDB18.20001@redhat.com \
    --to=harald@redhat.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).