summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-15 16:38:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-15 16:38:32 +0000
commitb44fefa0875d385403c5258514ae75b5e0771db9 (patch)
tree80153df00b4ed652a8500a6778c25a2695dc9aa0 /Makefile
parent58ce6beaa46443a55ac68f870b005d13f84a80ce (diff)
downloadldetect-lst-b44fefa0875d385403c5258514ae75b5e0771db9.tar
ldetect-lst-b44fefa0875d385403c5258514ae75b5e0771db9.tar.gz
ldetect-lst-b44fefa0875d385403c5258514ae75b5e0771db9.tar.bz2
ldetect-lst-b44fefa0875d385403c5258514ae75b5e0771db9.tar.xz
ldetect-lst-b44fefa0875d385403c5258514ae75b5e0771db9.zip
added
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bbc59d3d..df98f211 100644
--- a/Makefile
+++ b/Makefile
@@ -5,20 +5,28 @@ prefix = /usr
datadir = $(prefix)/share
dir = $(datadir)/$(project)
-build:
+build: CardsNames
clean:
- rm -f *~
+ rm -f *~ CardsNames
+
+CardsNames: Cards+ Cards2CardsNames.pl
+ ./Cards2CardsNames.pl $< > $@
install: build
install -d $(dir)
(echo "# !! The original version is available in CVS at" ; \
- echo "# export CVSROOT=:pserver:anoncvs@linux-mandrake.com:/home/cvs/cooker" ; \
+ 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 pcitable \
) > $(dir)/pcitable
+ install -m 644 Cards+ CardsNames MonitorsDB isdn.db $(dir)
rpm: clean $(RPM)
perl -pi -e "s/^(%define version).*/\1 $(version)/" $(project).spec