summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-18 13:08:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-18 13:08:29 +0000
commit68ef254ec0d874d2284a33f990be51baddb92488 (patch)
treeea2e7dd29a5eec351ef7d38a96014c821c55acdc /Makefile
parent6b5d37090668c9337c3e95135e3ff80441349313 (diff)
downloadldetect-lst-68ef254ec0d874d2284a33f990be51baddb92488.tar
ldetect-lst-68ef254ec0d874d2284a33f990be51baddb92488.tar.gz
ldetect-lst-68ef254ec0d874d2284a33f990be51baddb92488.tar.bz2
ldetect-lst-68ef254ec0d874d2284a33f990be51baddb92488.tar.xz
ldetect-lst-68ef254ec0d874d2284a33f990be51baddb92488.zip
add verif
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 6 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 67a37338..8a736045 100644
--- a/Makefile
+++ b/Makefile
@@ -1,31 +1,15 @@
-project = ldetect-lst
-prefix = /usr
-datadir = $(prefix)/share
-dir = $(datadir)/$(project)
+include Makefile.config
-build: CardsNames
+build:
+ make -C lst build
clean:
- rm -f *~ CardsNames
-
-CardsNames: Cards+ Cards2CardsNames.pl
- ./Cards2CardsNames.pl $< > $@
+ rm -f *~
+ make -C lst clean
install: build
install -d $(dir)
- for i in pcitable usbtable; do \
- (echo "# !! The original version is available in CVS at" ; \
- echo "# export CVSROOT=:pserver:anoncvs@cvs.mandrakesoft.com:/home/cvs/cooker" ; \
- echo "# cvs login (password \`\`cvs'')" ; \
- echo "# cvs checkout soft/$(project)" ; \
- echo "# or" ; \
- echo "# export CVSROOT=:ext:LOGIN@cvs.mandrakesoft.com:/home/cvs/cooker" ; \
- echo "# export CVS_RSH=ssh" ; \
- echo "# cvs checkout soft/$(project)" ; \
- cat $$i \
- ) > $(dir)/$$i; done
-
- install -m 644 Cards+ CardsNames MonitorsDB isdn.db $(dir)
+ make -C lst install
rpm: clean $(RPM)
(echo "# !! DON'T MODIFY HERE, MODIFY IN THE CVS !!" ; \