summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--lst/Makefile6
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 915c657e..489b66c0 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ install: build
install update-ldetect-lst $(sbindir)
install convert/merge2pcitable.pl $(bindir)
-rpm: clean $(RPM)
+rpm: check clean $(RPM)
(echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \
cat $(project).spec \
) > $(RPM)/SPECS/$(project).spec
diff --git a/lst/Makefile b/lst/Makefile
index 05470b76..940d5315 100644
--- a/lst/Makefile
+++ b/lst/Makefile
@@ -17,8 +17,10 @@ clean:
rm -f *~ *.tmp ScannerDB.gz
check:
- @../convert/merge2pcitable.pl pcitable pcitable pcitable > /dev/null
- @../convert/merge2pcitable.pl pcitable usbtable usbtable > /dev/null
+ @../convert/merge2pcitable.pl pcitable pcitable pcitable > .pcitable
+ @diff -u pcitable .pcitable
+ @../convert/merge2pcitable.pl pcitable usbtable usbtable > .usbtable
+ @diff -u usbtable .usbtable
@cd ../convert; ./verify_Cards.pl
$(TMP_TABLES1): %.tmp: %