changeset 30174:84f7e547aaf2

Invoke pci_db2c.awk as an argument to awk instead of letting the shell run it. The shell looks for awk in /usr/bin, the path from the shebang line. However, there exist systems with awk in /bin, namely archlinux.
author diego
date Mon, 04 Jan 2010 21:22:33 +0000
parents e11d2e31353c
children b7bb4a899a6b
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Jan 04 21:10:15 2010 +0000
+++ b/Makefile	Mon Jan 04 21:22:33 2010 +0000
@@ -901,7 +901,7 @@
                   vidix/pci_vendors.h
 
 $(VIDIX_PCI_FILES): vidix/pci_db2c.awk vidix/pci.db
-	$^ $(VIDIX_PCIDB)
+	awk -f $^ $(VIDIX_PCIDB)
 
 VIDIX_DEPS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.d))
 VIDIX_OBJS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.o))