blob: 144e1c6c65b7e3c92a6bf4a3a7bdf7045b4cb5c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#******************************************************************************
#
# Guillaume Cottenceau (gc@mandrakesoft.com)
#
# Copyright 2002 MandrakeSoft
#
# This software may be freely redistributed under the terms of the GNU
# public license.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#*****************************************************************************
DIRS = grpmi po
PREFIX = /usr/local
DATADIR = $(PREFIX)/share
BINDIR = $(PREFIX)/bin
all: dirs
dirs:
@for n in . $(DIRS); do \
[ "$$n" = "." ] || make -C $$n || exit 1 ;\
done
install: $(ALL)
@for n in $(DIRS); do \
(cd $$n; $(MAKE) install) \
done
install -d $(BINDIR)
install rpmdrake edit-urpm-sources.pl $(BINDIR)
perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||' $(BINDIR)/*
ln -s rpmdrake $(BINDIR)/rpmdrake-remove
ln -s rpmdrake $(BINDIR)/MandrakeUpdate
install -d $(DATADIR)/rpmdrake/icons
install -m644 icons/* $(DATADIR)/rpmdrake/icons
clean:
@for n in $(DIRS); do \
(cd $$n; make clean) \
done
tar:
mkdir ../t; \
cd ../t; \
cp -a ../rpmdrake .; \
find -name "CVS" | xargs rm -rf; \
tar jcvf ../rpmdrake.tar.bz2 rpmdrake; \
cd ..; \
rm -rf t
clust:
scp ../rpmdrake.tar.bz2 bi:rpm/SOURCES
scp rpmdrake.spec bi:rpm/SPECS
SOFTHOME = /home/gc/cvs/soft
GIHOME = /home/gc/cvs/gi
hack:
cp -f $(SOFTHOME)/rpmdrake/rpmdrake $(SOFTHOME)/rpmdrake/edit-urpm-sources.pl /usr/sbin
cp -f $(SOFTHOME)/rpmdrake/rpmdrake.pm $(shell rpm --eval %perl_vendorlib)
cp -f $(GIHOME)/perl-install/my_gtk.pm $(GIHOME)/perl-install/ugtk.pm /usr/lib/libDrakX
# perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||' /usr/lib/libDrakX/*.pm /usr/sbin/{rpmdrake,edit-urpm-sources.pl}
|