summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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