summaryrefslogtreecommitdiffstats
path: root/lst/Makefile
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-12-18 16:53:03 +0000
committerYves Duret <yduret@mandriva.com>2001-12-18 16:53:03 +0000
commit8887917ed3ff7bc55a113678beedcff765fc4231 (patch)
treecc45a2d71f6d643cb955b2c995a8fa7a4d9f649b /lst/Makefile
parent7f99666a3bae51a78cc15ae601660169cd16e10e (diff)
downloadldetect-lst-8887917ed3ff7bc55a113678beedcff765fc4231.tar
ldetect-lst-8887917ed3ff7bc55a113678beedcff765fc4231.tar.gz
ldetect-lst-8887917ed3ff7bc55a113678beedcff765fc4231.tar.bz2
ldetect-lst-8887917ed3ff7bc55a113678beedcff765fc4231.tar.xz
ldetect-lst-8887917ed3ff7bc55a113678beedcff765fc4231.zip
compress scannerDB
Diffstat (limited to 'lst/Makefile')
-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)