[libmarpa-r2-perl] 14/32: Packaging
Jonas Smedegaard
dr at jones.dk
Sat Nov 22 18:38:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag Marpa-R2-2.087_000
in repository libmarpa-r2-perl.
commit 9110c452611885fd5023dbdad95fc02f0c002bb6
Author: Jeffrey Kegler <JKEGL at cpan.org>
Date: Fri Jul 4 14:57:30 2014 -0700
Packaging
---
Makefile | 9 --------
cpan/.gitignore | 3 ---
cpan/etc/cp_libmarpa.sh | 55 ------------------------------------------------
cpan/etc/work_to_dist.sh | 40 -----------------------------------
4 files changed, 107 deletions(-)
diff --git a/Makefile b/Makefile
index 84aa018..de0bb20 100644
--- a/Makefile
+++ b/Makefile
@@ -51,16 +51,7 @@ full_test: etc_make
install:
(cd cpan/meta && make all)
(cd cpan/xs && make)
- test -d cpan/libmarpa_dist || mkdir cpan/libmarpa_dist
- test -d cpan/libmarpa_doc_dist || mkdir cpan/libmarpa_doc_dist
- (cd cpan && sh etc/work_to_dist.sh)
(cd cpan && perl Build.PL)
(cd cpan && ./Build distmeta)
(cd cpan && ./Build code)
-fullinstall: install
- -mkdir cpan/libmarpa/test/dev/m4
- (cd cpan/libmarpa/test/dev && autoreconf -ivf)
- -mkdir cpan/libmarpa/test/work
- (cd cpan/libmarpa/test/work && sh ../dev/configure)
- (cd cpan/libmarpa/test/work && make)
diff --git a/cpan/.gitignore b/cpan/.gitignore
index 535768d..82ea19e 100644
--- a/cpan/.gitignore
+++ b/cpan/.gitignore
@@ -13,9 +13,6 @@
/blib/
/blib_shared/
/libmarpa_build/
-/libmarpa_shared/
-/libmarpa_dist/
-/libmarpa_doc_dist/
/hide/
/pod2htmd.tmp
/pod2htmi.tmp
diff --git a/cpan/etc/cp_libmarpa.sh b/cpan/etc/cp_libmarpa.sh
deleted file mode 100644
index 9c79f2c..0000000
--- a/cpan/etc/cp_libmarpa.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-# Copyright 2014 Jeffrey Kegler
-# This file is part of Marpa::R2. Marpa::R2 is free software: you can
-# redistribute it and/or modify it under the terms of the GNU Lesser
-# General Public License as published by the Free Software Foundation,
-# either version 3 of the License, or (at your option) any later version.
-#
-# Marpa::R2 is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser
-# General Public License along with Marpa::R2. If not, see
-# http://www.gnu.org/licenses/.
-
-# Copy the libmarpa distribution to a directory
-# Note: This script needs to be portable
-
-if [ $# != 1 ]
-then
- echo "usage: $0 target-directory" 1>&2
- exit 1
-fi
-todir="$1"
-fromdir=libmarpa_dist
-if [ ! -e "$fromdir" ]
-then
- echo "cannot find directory $fromdir -- you need to be in a CPAN distribution directory to run this command" 1>&2
- exit 1
-fi
-if [ ! -d "$fromdir" ]
-then
- echo "$fromdir is not a directory -- you need to be in a CPAN distribution directory to run this command" 1>&2
- exit 1
-fi
-checkfile="$fromdir/configure.ac"
-if [ ! -e "$checkfile" ]
-then
- echo "$fromdir does not contain a configure.ac file -- you need to be in a CPAN distribution directory to run this command" 1>&2
- exit 1
-fi
-if [ ! -r "$checkfile" ]
-then
- echo "You not have the sufficient permissions to copy $checkfile" 1>&2
- exit 1
-fi
-if [ -e "$todir" ]
-then
- echo "cannot create directory $todir -- something with that name already exists" 1>&2
- exit 1
-fi
-mkdir "$todir" || exit 1
-# Copy using copying user's permissions and new modification times
-(cd "$fromdir"; tar cf - . ) | (cd "$todir"; tar xfom -)
diff --git a/cpan/etc/work_to_dist.sh b/cpan/etc/work_to_dist.sh
deleted file mode 100644
index fabb9dc..0000000
--- a/cpan/etc/work_to_dist.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2014 Jeffrey Kegler
-# This file is part of Marpa::R2. Marpa::R2 is free software: you can
-# redistribute it and/or modify it under the terms of the GNU Lesser
-# General Public License as published by the Free Software Foundation,
-# either version 3 of the License, or (at your option) any later version.
-#
-# Marpa::R2 is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser
-# General Public License along with Marpa::R2. If not, see
-# http://www.gnu.org/licenses/.
-
-(cd libmarpa; make install)
-version=`libmarpa/stage/configure --version | sed -ne '1s/^libmarpa configure *//p'`
-tar_file=libmarpa/stage/libmarpa-$version.tar.gz
-if test -d libmarpa_dist && test libmarpa_dist/stamp-h1 -nt $tar_file;
-then : ;
-else
- rm -rf libmarpa_dist
- mkdir libmarpa_dist.$$
- (cd libmarpa_dist.$$; tar -xzf ../$tar_file)
- mv libmarpa_dist.$$/libmarpa-$version libmarpa_dist
- date > libmarpa_dist/stamp-h1
- rmdir libmarpa_dist.$$
-fi
-
-# same thing for the doc directory
-tar_file=libmarpa/doc/libmarpa-doc-$version.tar.gz
-if test -d libmarpa_doc_dist && test libmarpa_doc_dist/stamp-h1 -nt $tar_file;
-then exit 0;
-fi
-rm -rf libmarpa_doc_dist
-mkdir libmarpa_doc_dist.$$
-(cd libmarpa_doc_dist.$$; tar -xzf ../$tar_file)
-mv libmarpa_doc_dist.$$/libmarpa-doc-$version libmarpa_doc_dist
-date > libmarpa_doc_dist/stamp-h1
-rmdir libmarpa_doc_dist.$$
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmarpa-r2-perl.git
More information about the Pkg-perl-cvs-commits
mailing list