summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-02 22:49:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-02 22:49:31 +0000
commitb8d44b1115f1192fbdd3b83706589a38c272945c (patch)
treef51ef06975d09c0bc1aec5626ed16417ce639189
parent9b8018245bdc56ce8bf1c1bd44393aa97dad4254 (diff)
downloaddrakx-b8d44b1115f1192fbdd3b83706589a38c272945c.tar
drakx-b8d44b1115f1192fbdd3b83706589a38c272945c.tar.gz
drakx-b8d44b1115f1192fbdd3b83706589a38c272945c.tar.bz2
drakx-b8d44b1115f1192fbdd3b83706589a38c272945c.tar.xz
drakx-b8d44b1115f1192fbdd3b83706589a38c272945c.zip
small cleanup for pcmcia_probe.c
-rw-r--r--perl-install/c/Makefile2
-rw-r--r--perl-install/c/Makefile.PL2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/c/Makefile b/perl-install/c/Makefile
index 043cbc6d6..e58cab335 100644
--- a/perl-install/c/Makefile
+++ b/perl-install/c/Makefile
@@ -10,7 +10,7 @@ stuff: %: %.xs
clean:
test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
- rm -f *~ *.o stuff.xs
+ rm -f *~ *.o stuff.xs pcmcia_probe.c
stuff.xs: %: %.pm
rm -f $@
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index a403ddb24..fbcb16914 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -9,7 +9,7 @@ $libs .= ' -lrpm -lrpmio -lz' if $ENV{C_RPM};
my $pcmcia_dir = $ENV{C_DRAKX} && $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia' : '';
-symlink "$pcmcia_dir/pcmcia_probe.c", "pcmcia_probe.c";
+symlink "$pcmcia_dir/pcmcia_probe.c", "pcmcia_probe.c" if $pcmcia_dir;
WriteMakefile(
'NAME' => 'stuff',