diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-10 11:32:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-10 11:32:13 +0000 |
commit | 2258da457e4ecd19f81d0eac2bf4eec58b477e44 (patch) | |
tree | 03d51ba4ec759422d49cd1c7f85a9fc45c405386 /move/Makefile | |
parent | dd135f6c822f30209731fad398b0d4002290e561 (diff) | |
download | drakx-2258da457e4ecd19f81d0eac2bf4eec58b477e44.tar drakx-2258da457e4ecd19f81d0eac2bf4eec58b477e44.tar.gz drakx-2258da457e4ecd19f81d0eac2bf4eec58b477e44.tar.bz2 drakx-2258da457e4ecd19f81d0eac2bf4eec58b477e44.tar.xz drakx-2258da457e4ecd19f81d0eac2bf4eec58b477e44.zip |
also copy perl-install/*/*.pm files
Diffstat (limited to 'move/Makefile')
-rw-r--r-- | move/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/move/Makefile b/move/Makefile index 4abaf5b30..5a604e355 100644 --- a/move/Makefile +++ b/move/Makefile @@ -40,13 +40,13 @@ install: build sudo cp -f $(patsubst %, $(INSTALL)/pixmaps/langs/lang-%.png, $(LANG_FILES)) $(DEST_LIVETREE)/usr/share/langs #- overwrite /usr/lib/libDrakX files of the live tree with those in CVS - sudo cp -f $(addprefix $(INSTALL)/, $(shell cd $(DEST_LIVETREE)/usr/lib/libDrakX ; ls *.pm)) $(DEST_LIVETREE)/usr/lib/libDrakX || : + (cd $(DEST_LIVETREE)/usr/lib/libDrakX ; find -name "*.pm") | egrep -v 'ctxhelp|drakfirsttime' | (cd $(INSTALL) ; sudo cpio -pLumd $(DEST_LIVETREE)/usr/lib/libDrakX/) #- overwrite stuff.so of drakxtools because it doesn't contain C_DRAKX stuff sudo cp -f ../perl-install/c/blib/arch/auto/stuff/stuff.so $(DEST_LIVETREE)/usr/lib/libDrakX/auto/c/stuff #- duplicated :( - sudo perl -pi -e 's/#[-+].*//; $$_ = "\n" if (/^=(head|begin)/ .. /^=cut/) || /use (diagnostics|vars|strict)/' $(DEST_STAGE2)/*.pm $(DEST_LIVETREE)/usr/lib/libDrakX/*.pm + sudo perl -pi -e 's/#[-+].*//; $$_ = "\n" if (/^=(head|begin)/ .. /^=cut/) || /use (diagnostics|vars|strict)/' $(DEST_STAGE2)/*.pm `find $(DEST_LIVETREE)/usr/lib/libDrakX -name "*.pm"` sudo mkdir -p $(DEST_LIVETREE)/move sudo cp -f $(addprefix data/, $(DATA_FILES)) $(DEST_LIVETREE)/move |