summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorAndreas König <a.koenig@mind.de>2003-05-09 17:12:05 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-09 14:21:51 +0000
commit1aea71dbe35e5c5838ce1880d0f99d5eba1c26e2 (patch)
treead3a8d21b22fc7c8a527a1a3da2b73321f4e52a3 /Makefile.SH
parent96eac031e9ad358951bd22ecf59b24bc5193580f (diff)
downloadperl-1aea71dbe35e5c5838ce1880d0f99d5eba1c26e2.tar.gz
Weekend fun: MANIFEST sorting
Message-ID: <m3y91g463e.fsf@franz.ak.mind.de> (both sorts need LC_ALL=C) (add also manicheck target) p4raw-id: //depot/perl@19458
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH
index d9d60888f8..173bfec17d 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -860,6 +860,15 @@ regen_pods: FORCE
regen_all: $(PERLYVMS) regen regen_pods
+.PHONY: manisort manicheck
+
+manisort: FORCE
+ LC_ALL=C sort -fc MANIFEST || (echo "WARNING: re-sorting MANIFEST"; \
+ LC_ALL=C sort -fo MANIFEST MANIFEST)
+
+manicheck: FORCE
+ perl Porting/manicheck
+
# Extensions:
# Names added to $(dynamic_ext) or $(static_ext) or $(nonxs_ext) will
# automatically get built. There should ordinarily be no need to change