summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 21:22:33 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 21:22:33 +0000
commita7a1f395c6b883b34aeaf008c0d22d6fe3dcd1c8 (patch)
tree57e9a15fb1f78c302a40d26721890880f855f3c9 /Makefile
parent01ced9c82ce292357a083151f278d0b0b0d368fe (diff)
downloadmpv-a7a1f395c6b883b34aeaf008c0d22d6fe3dcd1c8.tar.bz2
mpv-a7a1f395c6b883b34aeaf008c0d22d6fe3dcd1c8.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30216 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7363000018..46069a7d8b 100644
--- a/Makefile
+++ b/Makefile
@@ -901,7 +901,7 @@ VIDIX_PCI_FILES = vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c \
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))