mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
[PATCH] cleanup PATCH for extras/chassis_id/Makefile
for "make install"
This commit is contained in:
parent
b889880073
commit
ff213aecf6
@ -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 @@ chassis_id: chassis_id.c table.c
|
||||
|
||||
clean:
|
||||
rm -rf core a.out $(TARGET)
|
||||
|
||||
install: all
|
||||
$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user