summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile32
1 files changed, 22 insertions, 10 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 17e4d3790..0fe946485 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -23,11 +23,12 @@ clean:
for i in $(DIRS) share/po install/help/po install/share/po; do $(MAKE) -C $$i clean; done;:
rm -rf auto drakxtools*.tar* *.bak
find . -name "*~" -o -name ".#*" -o -name "TAGS" -o -name "*.old" | xargs rm -f
+ rm -rf $(PACKAGE)-$(PKGVERSION)*
check_pms_encoding:
@for i in $(ALLPMS); do charset=ascii; grep -q 'use utf8' $$i && charset=utf8; iconv -f $$charset -t $$charset $$i >/dev/null || { echo "bad $$charset character in $$i"; exit 1; }; done
-check: check_pms_encoding
+check_full: check_pms_encoding
perl -I. -Mlang -e 'lang::check'
check2:
@@ -52,21 +53,22 @@ install_pms stage2 full_stage2:
mo_files : $(MOFILES)
# rules to build tarball
-localcopy: clean
- rm -rf $(PACKAGE)-$(PKGVERSION)*
+dist: tar
+
+tar: clean
+ rm -rf $(PACKAGE)*.tar* $(PACKAGE)-$(PKGVERSION)
mkdir -p $(PACKAGE)-$(PKGVERSION)/tools
- svn export -q -rBASE . $(PACKAGE)-$(PKGVERSION)/perl-install
- for i in $(OTHERS); do svn export -q ../$$i $(PACKAGE)-$(PKGVERSION)/$$i; done
+ (cd ..; git archive HEAD "perl-install/" $(OTHERS) kernel/list_modules.pm Makefile.config) | tar xC $(PACKAGE)-$(PKGVERSION)
rm -rf $(PACKAGE)-$(PKGVERSION)/perl-install/{install,unused,list_modules.pm}
cp -f ../kernel/list_modules.pm $(PACKAGE)-$(PKGVERSION)/perl-install
cd $(PACKAGE)-$(PKGVERSION)/perl-install ; mv -f Makefile.drakxtools Makefile
@make nuke_perl
-
-localdist: tar
-
-tar: localcopy
- tar cfY $(PACKAGE)-$(PKGVERSION).tar.lzma $(PACKAGE)-$(PKGVERSION)
+ tar cfa $(PACKAGE)-$(PKGVERSION).tar.xz $(PACKAGE)-$(PKGVERSION)
rm -rf $(PACKAGE)-$(PKGVERSION)
+ $(info $(PACKAGE)-$(PKGVERSION).tar.xz is ready)
+
+tag:
+ git tag -a $(VERSION) -m "$(VERSION)"
# rules to build a distributable rpm
@@ -79,3 +81,13 @@ pixel_standalone_links:
rm -rf .standalone_apps.swa
mkdir .standalone_apps.swa
for i in $(STANDALONEPMS_); do ln -sf ../standalone/$$i .standalone_apps.swa/$$i.pm; done
+
+check_perl_checker:
+ rm -f share/po/libDrakX.pot install/share/po/DrakX.pot
+ @make -C share/po libDrakX.pot
+ @make -C install/share/po DrakX.pot
+
+list_firmwares.pm:
+ ../tools/find-drivers-needing-nonfree-firmware
+
+.PHONY: list_firmwares.pm