diff options
author | Karl Berry <karl@freefriends.org> | 2011-03-09 00:48:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-03-09 00:48:41 +0000 |
commit | e5abb7960d35683e02c220371b77d39148079a77 (patch) | |
tree | ea200eb0788b69c158c0edbd23955317330eed84 /Master/texmf-dist/source | |
parent | fb580c9b1cafa00d5e4040ac1fd6eb17d878a94e (diff) |
urlbst (8mar11)
git-svn-id: svn://tug.org/texlive/trunk@21650 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rwxr-xr-x | Master/texmf-dist/source/bibtex/urlbst/configure (renamed from Master/texmf-dist/source/latex/urlbst/configure) | 28 | ||||
-rw-r--r-- | Master/texmf-dist/source/bibtex/urlbst/configure.ac (renamed from Master/texmf-dist/source/latex/urlbst/configure.ac) | 12 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/urlbst/Makefile.in | 150 |
3 files changed, 20 insertions, 170 deletions
diff --git a/Master/texmf-dist/source/latex/urlbst/configure b/Master/texmf-dist/source/bibtex/urlbst/configure index 7543f55f02b..50363b82685 100755 --- a/Master/texmf-dist/source/latex/urlbst/configure +++ b/Master/texmf-dist/source/bibtex/urlbst/configure @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.ac Revision: 1.16 . +# From configure.ac Revision. # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for urlbst 0.6-1. +# Generated by GNU Autoconf 2.61 for urlbst 0.6-5. # # Report bugs to <norman@astro.gla.ac.uk>. # @@ -575,8 +575,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='urlbst' PACKAGE_TARNAME='urlbst' -PACKAGE_VERSION='0.6-1' -PACKAGE_STRING='urlbst 0.6-1' +PACKAGE_VERSION='0.6-5' +PACKAGE_STRING='urlbst 0.6-5' PACKAGE_BUGREPORT='norman@astro.gla.ac.uk' ac_unique_file="urlbst.in" @@ -1134,7 +1134,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures urlbst 0.6-1 to adapt to many kinds of systems. +\`configure' configures urlbst 0.6-5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1195,7 +1195,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of urlbst 0.6-1:";; + short | recursive ) echo "Configuration of urlbst 0.6-5:";; esac cat <<\_ACEOF @@ -1268,7 +1268,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -urlbst configure 0.6-1 +urlbst configure 0.6-5 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1282,7 +1282,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by urlbst $as_me 0.6-1, which was +It was created by urlbst $as_me 0.6-5, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -1635,7 +1635,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -RELEASEDATE="2008 June 16" +RELEASEDATE="2011 March 8" @@ -1684,17 +1684,17 @@ fi -WITHEPRINTS=0 +WITHEPRINTS=1 EPRINTURL=http://arxiv.org/abs/ -WITHDOIRESOLVER=0 +WITHDOIRESOLVER=1 DOIURL=http://dx.doi.org/ -WITHPUBMEDRESOLVER=0 +WITHPUBMEDRESOLVER=1 PUBMEDURL=http://www.ncbi.nlm.nih.gov/pubmed/ @@ -2190,7 +2190,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by urlbst $as_me 0.6-1, which was +This file was extended by urlbst $as_me 0.6-5, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2233,7 +2233,7 @@ Report bugs to <bug-autoconf@gnu.org>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -urlbst config.status 0.6-1 +urlbst config.status 0.6-5 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/Master/texmf-dist/source/latex/urlbst/configure.ac b/Master/texmf-dist/source/bibtex/urlbst/configure.ac index cd41ab186c1..8981ad569cc 100644 --- a/Master/texmf-dist/source/latex/urlbst/configure.ac +++ b/Master/texmf-dist/source/bibtex/urlbst/configure.ac @@ -1,8 +1,8 @@ dnl Process this file with autoconf to produce a configure script -AC_REVISION($Revision: 1.16 $) +AC_REVISION($Revision$) -AC_INIT(urlbst, 0.6-1, norman@astro.gla.ac.uk) -RELEASEDATE="2008 June 16" +AC_INIT(urlbst, 0.6-5, norman@astro.gla.ac.uk) +RELEASEDATE="2011 March 8" AC_SUBST(RELEASEDATE) AC_PREREQ(2.50) @@ -13,19 +13,19 @@ AC_PATH_PROG(PERL, perl) dnl Add --with-eprints: tune default support for eprints -WITHEPRINTS=0 +WITHEPRINTS=1 AC_SUBST(WITHEPRINTS) EPRINTURL=http://arxiv.org/abs/ AC_SUBST(EPRINTURL) dnl Add --with-doi: tune default support for DOI fields -WITHDOIRESOLVER=0 +WITHDOIRESOLVER=1 AC_SUBST(WITHDOIRESOLVER) DOIURL=http://dx.doi.org/ AC_SUBST(DOIURL) dnl Add --with-pubmed -WITHPUBMEDRESOLVER=0 +WITHPUBMEDRESOLVER=1 AC_SUBST(WITHPUBMEDRESOLVER) PUBMEDURL=http://www.ncbi.nlm.nih.gov/pubmed/ AC_SUBST(PUBMEDURL) diff --git a/Master/texmf-dist/source/latex/urlbst/Makefile.in b/Master/texmf-dist/source/latex/urlbst/Makefile.in deleted file mode 100644 index 7add0fe04a2..00000000000 --- a/Master/texmf-dist/source/latex/urlbst/Makefile.in +++ /dev/null @@ -1,150 +0,0 @@ -# BSTSTYLES are the standard styles that we distribute -BSTSTYLES=plainurl.bst unsrturl.bst alphaurl.bst abbrvurl.bst -# TESTSTYLES are a couple of extra ones that we explicitly test -TESTSTYLES=mlaurl.bst - -MAINTAINER_FILES= Makefile configure -GENERATED=urlbst urlbst.tex urlbst.pdf urlbst.html \ - README VERSION $(BSTSTYLES) -# distribute generated files -# ...plus the configure files -# ...plus the configured files -DISTRIBS=$(GENERATED) \ - configure configure.ac \ - urlbst.in urlbst.bib urlbst.tex.in urlbst.html.in Makefile.in - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -bindir=@bindir@ -DIST=urlbst-@PACKAGE_VERSION@ - -### Implicit rules - -# Don't include --inlinelinks when generating %url.bst here, as we -# do want the links visible when generating the documentation, and it's -# probably abetter default in any case. -%url.bst: urlbst - export BSTINPUTS=test: ; \ - if test -z "`kpsewhich ${@:url.bst=.bst}`"; then \ - echo "Can't locate ${@:url.bst=.bst}"; \ - else \ - ./urlbst --eprint --doi --pubmed --hyperref `kpsewhich ${@:url.bst=.bst}` $@; \ - fi - -# Incomplete TeX support -%.ps: %.dvi - dvips -o $@ $< -%.bbl: %.tex plainurl.bst - pdflatex $< - if grep -q 'Citation.*undefined' ${<:.tex=.log}; then \ - bibtex ${<:.tex=}; \ - pdflatex $<; \ - rm ${<:.tex=.pdf}; \ - fi -%.pdf: %.tex %.bbl - pdflatex $< -%.dvi: %.tex %.bbl - latex $< -%.gz: % - gzip --best -f $< - - - -### Targets start here - -all: urlbst - -dist: $(DIST).tar.gz - -$(DIST).tar: $(DISTRIBS) - sed '1s,.*,#! /usr/bin/env perl,' urlbst >tmp && mv tmp urlbst \ - && chmod +x urlbst - rm -Rf $(DIST) $(DIST).tar - mkdir $(DIST) - cp $(DISTRIBS) $(DIST) - tar cf $@ $(DIST) - rm -Rf $(DIST) - -urlbst: urlbst.in config.status - ./config.status urlbst - -urlbst.tex: urlbst.tex.in config.status - ./config.status urlbst.tex - -urlbst.html: urlbst.html.in config.status - ./config.status urlbst.html - -Makefile: Makefile.in config.status - ./config.status Makefile - -configure: configure.ac - autoconf - -config.status: configure - ./configure - -# Version stamp file, included in the distribution for convenience, -# so it's easy to see which version it is has been unpacked at CTAN. -VERSION: - echo $(DIST) >VERSION - -# The README is just a plain-text version of urlbst.html -README: urlbst.html - lynx -dump -nolist urlbst.html >README - -# Very simple install target -- hardly worth bothering, really.... -install: urlbst - cp urlbst $(bindir) - -# Very simple test target -- just check that we don't bomb converting -# the standard styles -test: $(BSTSTYLES) $(TESTSTYLES) - for f in $(BSTSTYLES) $(TESTSTYLES); do \ - ROOT=`echo $$f|sed s/\.bst$$//`; \ - printf '\\relax\n' > test-$$ROOT.aux; \ - printf '\\citation{*}\n' >> test-$$ROOT.aux; \ - printf '\\bibdata{urlbst}\n' >> test-$$ROOT.aux; \ - printf '\\bibstyle{'"$$ROOT"'}\n' >> test-$$ROOT.aux; \ - bibtex test-$$ROOT; \ - done - -# Brute-force test target, which finds all the system .bst files, -# converts them, and runs BibTeX on them. It doesn't test the results -# in any way -- you have to do that by eye. -# -# No, this is a hopelessly blunderbus approach. And in any case the -# 'locate *.bst' doesn't work. At least the following would find only things -# on the .bst search path. -# BSTPATH=`kpsepath bst` -# for d in `IFS=:; echo $BSTPATH`; do -# dd=`expr "$d" : '!*\(.*[^/]\)/*$'` -# echo dd=$dd -# test -d "$dd" && find $dd -name \*.bst -# done -test-all: - printf '\\relax\n'>test-all.mainaux - sed -n 's/^.*{\(test:.*\),/\\citation{\1}/p' urlbst.bib>>test-all.mainaux - for f in `locate '*.bst' | grep -v norman`; do T=`echo $$f|sed 's+.*/\(.*\)\.bst+\1url+'`;perl urlbst $$f $$T.bst; if test $$? = 0; then TF=test-$$T.aux; cp test-all.mainaux $$TF;printf '\\bibdata{urlbst}\n'>>$$TF; printf '\\bibstyle{$$T}\n'>>$$TF; else rm $$T.bst; fi done - for f in `ls test-*.aux|sed s+.aux++`;do bibtex $$f;done - rm test-all.mainaux - -# Tarball for unpacking in the webpage distribution directory -webpage-tarball.tar: urlbst.pdf urlbst.html $(DIST).tar.gz - mkdir webpage-tarball - cp urlbst.pdf $(DIST).tar.gz webpage-tarball - cp urlbst.html webpage-tarball/index.html - cd webpage-tarball; tar cf ../webpage-tarball.tar * - rm -Rf webpage-tarball - -tidy: - rm -f webpage-tarball.tar - rm -f *~ test-* - rm -f *.aux *.bbl *.log *.blg *.dvi *.pdf - -clean: tidy - rm -f *.bst - rm -Rf config.status autom4te.cache - rm -f $(GENERATED) - -maintainer-clean: clean - rm -f $(MAINTAINER_FILES) |