[MPlayer-dev-eng] [PATCH] Allow Makefile to recognize changes in pci.db

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 4 18:53:25 CET 2007


Hi!

Changes in libdha/oth/pci.db should trigger the call to awk. Patch attached.

Question: Should the following line be moved from distclean to clean in 
libdha/Makefile?
rm -f pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h pci.db

Greetings, Carl Eugen
-------------- next part --------------
Index: libdha/Makefile
===================================================================
--- libdha/Makefile	(Revision 21821)
+++ libdha/Makefile	(Arbeitskopie)
@@ -63,7 +63,7 @@
 
 all:    $(LIBNAME) $(SHORTNAME)
 
-pci_names.c:
+pci_names.c:	oth/pci.db
 	LC_ALL=C $(AWK) -f pci_db2c.awk oth/pci.db
 
 test:


More information about the MPlayer-dev-eng mailing list