summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lst/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lst/Makefile b/lst/Makefile
index 7734752b..1efeb6a4 100644
--- a/lst/Makefile
+++ b/lst/Makefile
@@ -5,7 +5,8 @@ ARCH := $(patsubst sparc%,sparc,$(ARCH))
TABLES1 = pcitable usbtable
TABLES2 = isatable pcmciatable
-TABLES = $(TABLES1) $(TABLES2)
+TABLES3 = ScannerDB
+TABLES = $(TABLES1) $(TABLES2) $(TABLES3)
TMP_TABLES1 = $(TABLES1:%=%.tmp)
TMP_TABLES2 = $(TABLES2:%=%.tmp)
TMP_TABLES = $(TABLES:%=%.tmp)
@@ -13,7 +14,7 @@ TMP_TABLES = $(TABLES:%=%.tmp)
build: CardsNames
clean:
- rm -f *~ CardsNames *.tmp
+ rm -f *~ CardsNames *.tmp ScannerDB.gz
CardsNames: Cards+ ../convert/Cards2CardsNames.pl
rm -f $@
@@ -26,6 +27,9 @@ $(TMP_TABLES1): %.tmp: %
$(TMP_TABLES2): %.tmp: %
cp -f $< $@
+$(TMP_TABLES3): %.tmp: %
+ gzip -vc9 ScannerDB > ScannerDB.gz
+
install: $(TMP_TABLES)
for i in $(TABLES); do \
(echo "# !! The original version is available in CVS at" ; \
@@ -39,4 +43,4 @@ install: $(TMP_TABLES)
cat $$i.tmp \
) > $(dir)/$$i; done
- install -m 644 ScannerDB Cards+ CardsNames MonitorsDB isdn.db $(dir)
+ install -m 644 ScannerDB.gz Cards+ CardsNames MonitorsDB isdn.db $(dir)