summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--perl-install/share/advertising/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5d32f968e..d829d3f30 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ UPLOAD_SPARC_DEST = /mnt/BIG/distrib/sparc
.PHONY: dirs perl-install $(FLOPPY_IMG) install
install: all.modules build rescue
- for i in images misc Mandrake Mandrake/base Mandrake/share/advertising; do install -d $(ROOTDEST)/$$i ; done
+ for i in images misc Mandrake Mandrake/base Mandrake/share; do install -d $(ROOTDEST)/$$i ; done
ifneq (ppc,$(ARCH))
for i in $(FRELEASE_BOOT_IMG); do cp -f $${i}* $(ROOTDEST)/images; done
endif
diff --git a/perl-install/share/advertising/Makefile b/perl-install/share/advertising/Makefile
index 1b4f5f47b..30005e186 100644
--- a/perl-install/share/advertising/Makefile
+++ b/perl-install/share/advertising/Makefile
@@ -1,6 +1,8 @@
include ../../Makefile.config
install:
+ rm -rf $(ROOTDEST)/Mandrake/share/advertising
+ install -d $(ROOTDEST)/Mandrake/share/advertising
install -m755 *.pl $(ROOTDEST)/Mandrake/share/advertising
install -m644 *.png $(ROOTDEST)/Mandrake/share/advertising
install -m644 list $(ROOTDEST)/Mandrake/share/advertising