chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
volume_id: add suspend partition detection
[elogind.git]
/
extras
/
firmware
/
Makefile
diff --git
a/extras/firmware/Makefile
b/extras/firmware/Makefile
index 78a7935d668eaaa3a3c467c90539918bb3d4c00f..cfc7cd51537feecae212016cbfe2f694ae8cc3f4 100644
(file)
--- a/
extras/firmware/Makefile
+++ b/
extras/firmware/Makefile
@@
-1,14
+1,11
@@
# Makefile for udev extra invoked from the udev main Makefile
#
# Makefile for udev extra invoked from the udev main Makefile
#
-# Copyright (C) 2004-200
5
Kay Sievers <kay.sievers@vrfy.org>
+# Copyright (C) 2004-200
6
Kay Sievers <kay.sievers@vrfy.org>
#
# Released under the GNU General Public License, version 2.
#
#
# Released under the GNU General Public License, version 2.
#
-PROG = firmware_helper
-OBJ =
-HEADERS =
-GEN_HEADERS =
+PROG = firmware.sh
MAN_PAGES =
prefix =
MAN_PAGES =
prefix =
@@
-29,35
+26,27
@@
all: $(PROG) $(MAN_PAGES)
.PHONY: all
.DEFAULT: all
.PHONY: all
.DEFAULT: all
-%.o: %.c $(GEN_HEADERS)
- $(QUIET) $(CC) -c $(CFLAGS) $< -o $@
-
-$(PROG): %: $(HEADERS) %.o $(OBJS)
- $(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(QUIET) $(STRIPCMD) $@
-endif
-
# man pages
%.8: %.xml
# man pages
%.8: %.xml
- xmlto man $?
+ $(E) " XMLTO " $@
+ $(Q) xmlto man $?
.PRECIOUS: %.8
clean:
.PRECIOUS: %.8
clean:
- rm -f $(PROG) $(OBJS) $(GEN_HEADERS)
+ $(E) " CLEAN "
.PHONY: clean
install-bin: all
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM)
$(PROG) $(DESTDIR)$(sbin
dir)/$(PROG)
+ $(INSTALL_PROGRAM)
-D $(PROG) $(DESTDIR)$(libudev
dir)/$(PROG)
.PHONY: install-bin
uninstall-bin:
.PHONY: install-bin
uninstall-bin:
- - rm $(DESTDIR)$(
sbin
dir)/$(PROG)
+ - rm $(DESTDIR)$(
libudev
dir)/$(PROG)
.PHONY: uninstall-bin
install-man:
@echo "Please create a man page for this tool."
.PHONY: uninstall-bin
install-man:
@echo "Please create a man page for this tool."
-.PHONY:
un
install-man
+.PHONY: install-man
uninstall-man:
@echo "Please create a man page for this tool."
uninstall-man:
@echo "Please create a man page for this tool."
@@
-66,3
+55,4
@@
uninstall-man:
install-config:
@echo "no config file to install"
.PHONY: install-config
install-config:
@echo "no config file to install"
.PHONY: install-config
+