summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-04 22:59:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-04 22:59:52 +0000
commite5d49e8a664f9b0d0f275b2fc50e6dae1f0043de (patch)
treede03056e18856ebfbbdced5415db32e5c697de5f /perl-install/Makefile
parent67c0b4891e2e8acef54f5bd67b1faf3fa38bc097 (diff)
downloaddrakx-backup-do-not-use-e5d49e8a664f9b0d0f275b2fc50e6dae1f0043de.tar
drakx-backup-do-not-use-e5d49e8a664f9b0d0f275b2fc50e6dae1f0043de.tar.gz
drakx-backup-do-not-use-e5d49e8a664f9b0d0f275b2fc50e6dae1f0043de.tar.bz2
drakx-backup-do-not-use-e5d49e8a664f9b0d0f275b2fc50e6dae1f0043de.tar.xz
drakx-backup-do-not-use-e5d49e8a664f9b0d0f275b2fc50e6dae1f0043de.zip
when building the tar for drakxtools, handle specially list_modules.pm
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index e82ff7c24..3e3a1d497 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -200,8 +200,10 @@ cleandist:
tar:
cd ../$(PACKAGE)-$(PKGVERSION) && perl -pi -e 's/^C_RPM.*/C_RPM=0/; s/^C_DRAKX.*/C_DRAKX=0/' c/Makefile
cd ../$(PACKAGE)-$(PKGVERSION) && perl -pi -e 's/^all: help/all:/' share/po/Makefile
- cd ../$(PACKAGE)-$(PKGVERSION) && rm -rf install* pkgs.pm help.pm ftp.pm http.pm crypto.pm t.pm */CVS && mv Makefile.drakxtools Makefile
- cd ..; tar cfj $(PACKAGE)-$(PKGVERSION).tar.bz2 --exclude CVS $(patsubst %,$(PACKAGE)-$(PKGVERSION)/%,$(DISTFILES))
+ cd ../$(PACKAGE)-$(PKGVERSION) && rm -rf install* pkgs.pm help.pm ftp.pm http.pm crypto.pm t.pm debug.log `find -name CVS`
+ cd ../$(PACKAGE)-$(PKGVERSION) && mv -f Makefile.drakxtools Makefile
+ cd ../$(PACKAGE)-$(PKGVERSION) && rm -f list_modules.pm && cp -f ../kernel/list_modules.pm .
+ cd ..; tar cfj $(PACKAGE)-$(PKGVERSION).tar.bz2 $(patsubst %,$(PACKAGE)-$(PKGVERSION)/%,$(DISTFILES))
cd ..; rm -rf $(PACKAGE)-$(PKGVERSION)
buildrpm: