summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-07-24 21:15:45 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-07-24 21:15:45 +0000
commit6b2a4158cc229cf3bb1edb54c9428e567696b54a (patch)
tree008ca7c5826aa73d42ea6f633c95cb146f533de0 /perl-install/Makefile
parent56b374075f45355184b2927cc2f24262dc7e6c21 (diff)
downloaddrakx-6b2a4158cc229cf3bb1edb54c9428e567696b54a.tar
drakx-6b2a4158cc229cf3bb1edb54c9428e567696b54a.tar.gz
drakx-6b2a4158cc229cf3bb1edb54c9428e567696b54a.tar.bz2
drakx-6b2a4158cc229cf3bb1edb54c9428e567696b54a.tar.xz
drakx-6b2a4158cc229cf3bb1edb54c9428e567696b54a.zip
no_comment
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index b0e492ccf..3303ecd23 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -51,8 +51,11 @@ test_pms: verify_c
verify_c:
./verify_c $(PMS)
-depslist:
- ./gendepslist > $(ROOTDEST)/Mandrake/base/depslist
+gendepslist: %: %.cc
+ $(CXX) -I/usr/include/rpm $(CFLAGS) $< -lrpm -ldb -lz -o $@
+
+depslist: gendepslist
+ ./gendepslist $(ROOTDEST)/Mandrake/base/depslist /tmp/rhimage/Mandrake/RPMS/*.rpm
install_pms: all
for i in `perl -ne 's/sub (\w+?)_? {.*/$$1/ and print' commands.pm`; do ln -sf commands $(DEST)/usr/bin/$$i; done
@@ -113,6 +116,7 @@ get_needed_files: $(SO_FILES)
cp -a xmodmaps $(DEST)/usr/share
cp -a keymaps $(DEST)/usr/share
cp -a consolefonts $(DEST)/usr/share
+ cp compss $(ROOTDEST)/Mandrake/base
ln -s install2 $(DEST)/usr/bin/runinstall2
# echo -e "#!/bin/sh\n\nexec '/usr/bin/sh'" > $(DEST)/usr/bin/runinstall2