[MPlayer-cvslog] r30216 - trunk/Makefile

diego subversion at mplayerhq.hu
Mon Jan 4 22:22:33 CET 2010


Author: diego
Date: Mon Jan  4 22:22:33 2010
New Revision: 30216

Log:
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.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Mon Jan  4 22:10:15 2010	(r30215)
+++ trunk/Makefile	Mon Jan  4 22:22:33 2010	(r30216)
@@ -901,7 +901,7 @@ VIDIX_PCI_FILES = vidix/pci_dev_ids.c vi
                   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))


More information about the MPlayer-cvslog mailing list