2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Changes the debian bjam package to be similar to jam package.

[SVN r15968]
This commit is contained in:
Vladimir Prus
2002-10-23 12:27:57 +00:00
parent 410b501468
commit dbebc96215
8 changed files with 540 additions and 90 deletions

View File

@@ -1,3 +1,9 @@
bjam (3.1.3-2) unstable; urgency=low
* Changed Debian package to be similar to Jam's package.
-- Vladimir Prus <ghost@cs.msu.su> Thu, 10 Oct 2002 18:43:26 +0400
bjam (3.1.3-1) unstable; urgency=low
* New upstream release.

View File

@@ -1,8 +1,8 @@
Source: bjam
Section: devel
Priority: extra
Priority: optional
Maintainer: Vladimir Prus <ghost@cs.msu.su>
Build-Depends: debhelper (>> 3.0.0)
Build-Depends: debhelper (>> 3.0.0), docbook-to-man, bison
Standards-Version: 3.5.2
Package: bjam

View File

@@ -0,0 +1,236 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
-->
<!ENTITY dhfirstname "<firstname>Yann</firstname>">
<!ENTITY dhsurname "<surname>Dirson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>mai 23, 2001</date>">
<!ENTITY dhemail "<email>dirson@debian.org</email>">
<!ENTITY dhusername "Yann Dirson">
<!ENTITY dhpackage "jam">
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2001</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
<refentrytitle>JAM</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>Jam/MR</refname>
<refpurpose>Make(1) Redux</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>jam</command>
<arg><option>-a</option></arg>
<arg><option>-n</option></arg>
<arg><option>-v</option></arg>
<arg><option>-d <replaceable/debug/</option></arg>
<arg><option>-f <replaceable/jambase/</option></arg>
<arg><option>-j <replaceable/jobs/</option></arg>
<arg><option>-o <replaceable/actionsfile/</option></arg>
<arg><option>-s <replaceable/var/=<replaceable/value/</option></arg>
<arg><option>-t <replaceable/target/</option></arg>
<arg repeat><option><replaceable/target/</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>Jam is a program construction tool, like make(1).</para>
<para>Jam recursively builds target files from source files, using
dependency information and updating actions expressed in the
Jambase file, which is written in jam's own interpreted language.
The default Jambase is compiled into jam and provides a
boilerplate for common use, relying on a user-provide file
"Jamfile" to enumerate actual targets and sources.</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term><option/-a/</term>
<listitem>
<para>Build all targets anyway, even if they are up-to-date.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d <replaceable/n/</option></term>
<listitem>
<para>Enable cummulative debugging levels from 1 to
<replaceable/n/. Interesting values are:
<glosslist>
<glossentry><glossterm/1/ <glossdef><simpara/Show
actions (the default)/</glossdef></glossentry>
<glossentry><glossterm/2/ <glossdef><simpara/Show
"quiet" actions and display all action
text/</glossdef></glossentry>
<glossentry><glossterm/3/ <glossdef><simpara>Show
dependency analysis, and target/source
timestamps/paths</simpara></glossdef></glossentry>
<glossentry><glossterm/4/ <glossdef><simpara/Show shell
arguments/</glossdef></glossentry>
<glossentry><glossterm/5/ <glossdef><simpara/Show rule
invocations and variable
expansions/</glossdef></glossentry>
<glossentry><glossterm/6/ <glossdef><simpara>Show
directory/header file/archive
scans</simpara></glossdef></glossentry>
<glossentry><glossterm/7/ <glossdef><simpara/Show
variable settings/</glossdef></glossentry>
<glossentry><glossterm/8/ <glossdef><simpara/Show
variable fetches/</glossdef></glossentry>
<glossentry><glossterm/9/ <glossdef><simpara/Show
variable manipulation, scanner
tokens/</glossdef></glossentry>
</glosslist>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d +<replaceable/n/</option></term>
<listitem>
<para>Enable debugging level <replaceable/n/.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option/-d 0/</term>
<listitem>
<para>Turn off all debugging levels. Only errors are not
suppressed.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-f <replaceable/jambase/</option></term>
<listitem>
<para>Read <replaceable/jambase/ instead of using the
built-in Jambase. Only one <option/-f/ flag is permitted,
but the <replaceable/jambase/ may explicitly include other
files.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-j <replaceable/n/</option></term>
<listitem>
<para>Run up to <replaceable/n/ shell commands concurrently
(UNIX and NT only). The default is 1.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option/-n/</term>
<listitem>
<para>Don't actually execute the updating actions, but do
everything else. This changes the debug level default to
<option/-d2/.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-o <replaceable/file/</option></term>
<listitem>
<para>Write the updating actions to the specified file
instead of running them (or outputting them, as on the
Mac).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-s <replaceable/var/=<replaceable/value/</option></term>
<listitem>
<para>Set the variable <replaceable/var/ to
<replaceable/value/, overriding both internal variables and
variables imported from the environment. </para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-t <replaceable/target/</option></term>
<listitem>
<para>Rebuild <replaceable/target/ and everything that
depends on it, even if it is up-to-date.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option/-v/</term>
<listitem>
<para>Print the version of jam and exit.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>Jam is documented fully in HTML pages available on Debian
systems from
<filename>/usr/share/doc/jam/Jam.html</filename>.</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was created by &dhusername; &dhemail; from
the <filename/Jam.html/ documentation, for the &debian; system
(but may be used by others).</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
sgml-omittag:t
sgml-shorttag:t
End:
-->

View File

@@ -1,48 +1,43 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# GNU copyright 2001 by Yann Dirson.
# This is the debian/rules file for packages jam and ftjam
# It should be usable with both packages without any change
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
# This is the debhelper compatability version to use.
export DH_COMPAT=3
topdir=$(shell pwd)
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
jam=jam
binname=bjam
build: build-stamp
build-stamp: configure-stamp
build-stamp: debian/jam.1
dh_testdir
# Add here commands to compile the package.
$(MAKE)
# bootstrap
${MAKE}
# update generated files
rm jamgram.c jamgram.h
${MAKE}
touch build-stamp
%.1: %.man.sgml
/usr/bin/docbook-to-man $< > $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
rm -f build-stamp
rm -rf bin.*
rm -f jam0 debian/jam.1
dh_clean
install: build
@@ -51,10 +46,11 @@ install: build
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/bjam.
BINDIR=$(CURDIR)/debian/bjam/usr/bin DOCDIR=$(CURDIR)/debian/bjam/usr/share/doc/bjam jam0 install
# Don't want vanilla jam here for now, at least because it would conflict with jam package.
rm $(CURDIR)/debian/bjam/usr/bin/jam
./jam0 -sBINDIR=${topdir}/debian/${jam}/usr/bin install
cd debian/${jam}/usr/bin && mv jam ${binname}
install -d ${topdir}/debian/${jam}/usr/share/man/man1/
install -m644 debian/jam.1 ${topdir}/debian/${jam}/usr/share/man/man1/${binname}.1
# Build architecture-independent files here.
binary-indep: build install
@@ -64,27 +60,14 @@ binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
# dh_installdebconf
dh_installdocs
dh_installexamples
dh_installmenu
# dh_installlogrotate
dh_installdocs README RELNOTES Jambase *.html
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
dh_installcron
dh_installman
dh_installinfo
# dh_undocumented
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_makeshlibs
dh_installdeb
# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums

View File

@@ -1,3 +1,9 @@
bjam (3.1.3-2) unstable; urgency=low
* Changed Debian package to be similar to Jam's package.
-- Vladimir Prus <ghost@cs.msu.su> Thu, 10 Oct 2002 18:43:26 +0400
bjam (3.1.3-1) unstable; urgency=low
* New upstream release.

View File

@@ -1,8 +1,8 @@
Source: bjam
Section: devel
Priority: extra
Priority: optional
Maintainer: Vladimir Prus <ghost@cs.msu.su>
Build-Depends: debhelper (>> 3.0.0)
Build-Depends: debhelper (>> 3.0.0), docbook-to-man, bison
Standards-Version: 3.5.2
Package: bjam

236
jam_src/debian/jam.man.sgml Normal file
View File

@@ -0,0 +1,236 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
-->
<!ENTITY dhfirstname "<firstname>Yann</firstname>">
<!ENTITY dhsurname "<surname>Dirson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>mai 23, 2001</date>">
<!ENTITY dhemail "<email>dirson@debian.org</email>">
<!ENTITY dhusername "Yann Dirson">
<!ENTITY dhpackage "jam">
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2001</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
<refentrytitle>JAM</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>Jam/MR</refname>
<refpurpose>Make(1) Redux</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>jam</command>
<arg><option>-a</option></arg>
<arg><option>-n</option></arg>
<arg><option>-v</option></arg>
<arg><option>-d <replaceable/debug/</option></arg>
<arg><option>-f <replaceable/jambase/</option></arg>
<arg><option>-j <replaceable/jobs/</option></arg>
<arg><option>-o <replaceable/actionsfile/</option></arg>
<arg><option>-s <replaceable/var/=<replaceable/value/</option></arg>
<arg><option>-t <replaceable/target/</option></arg>
<arg repeat><option><replaceable/target/</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>Jam is a program construction tool, like make(1).</para>
<para>Jam recursively builds target files from source files, using
dependency information and updating actions expressed in the
Jambase file, which is written in jam's own interpreted language.
The default Jambase is compiled into jam and provides a
boilerplate for common use, relying on a user-provide file
"Jamfile" to enumerate actual targets and sources.</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term><option/-a/</term>
<listitem>
<para>Build all targets anyway, even if they are up-to-date.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d <replaceable/n/</option></term>
<listitem>
<para>Enable cummulative debugging levels from 1 to
<replaceable/n/. Interesting values are:
<glosslist>
<glossentry><glossterm/1/ <glossdef><simpara/Show
actions (the default)/</glossdef></glossentry>
<glossentry><glossterm/2/ <glossdef><simpara/Show
"quiet" actions and display all action
text/</glossdef></glossentry>
<glossentry><glossterm/3/ <glossdef><simpara>Show
dependency analysis, and target/source
timestamps/paths</simpara></glossdef></glossentry>
<glossentry><glossterm/4/ <glossdef><simpara/Show shell
arguments/</glossdef></glossentry>
<glossentry><glossterm/5/ <glossdef><simpara/Show rule
invocations and variable
expansions/</glossdef></glossentry>
<glossentry><glossterm/6/ <glossdef><simpara>Show
directory/header file/archive
scans</simpara></glossdef></glossentry>
<glossentry><glossterm/7/ <glossdef><simpara/Show
variable settings/</glossdef></glossentry>
<glossentry><glossterm/8/ <glossdef><simpara/Show
variable fetches/</glossdef></glossentry>
<glossentry><glossterm/9/ <glossdef><simpara/Show
variable manipulation, scanner
tokens/</glossdef></glossentry>
</glosslist>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d +<replaceable/n/</option></term>
<listitem>
<para>Enable debugging level <replaceable/n/.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option/-d 0/</term>
<listitem>
<para>Turn off all debugging levels. Only errors are not
suppressed.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-f <replaceable/jambase/</option></term>
<listitem>
<para>Read <replaceable/jambase/ instead of using the
built-in Jambase. Only one <option/-f/ flag is permitted,
but the <replaceable/jambase/ may explicitly include other
files.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-j <replaceable/n/</option></term>
<listitem>
<para>Run up to <replaceable/n/ shell commands concurrently
(UNIX and NT only). The default is 1.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option/-n/</term>
<listitem>
<para>Don't actually execute the updating actions, but do
everything else. This changes the debug level default to
<option/-d2/.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-o <replaceable/file/</option></term>
<listitem>
<para>Write the updating actions to the specified file
instead of running them (or outputting them, as on the
Mac).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-s <replaceable/var/=<replaceable/value/</option></term>
<listitem>
<para>Set the variable <replaceable/var/ to
<replaceable/value/, overriding both internal variables and
variables imported from the environment. </para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-t <replaceable/target/</option></term>
<listitem>
<para>Rebuild <replaceable/target/ and everything that
depends on it, even if it is up-to-date.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option/-v/</term>
<listitem>
<para>Print the version of jam and exit.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>Jam is documented fully in HTML pages available on Debian
systems from
<filename>/usr/share/doc/jam/Jam.html</filename>.</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was created by &dhusername; &dhemail; from
the <filename/Jam.html/ documentation, for the &debian; system
(but may be used by others).</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
sgml-omittag:t
sgml-shorttag:t
End:
-->

View File

@@ -1,48 +1,43 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# GNU copyright 2001 by Yann Dirson.
# This is the debian/rules file for packages jam and ftjam
# It should be usable with both packages without any change
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
# This is the debhelper compatability version to use.
export DH_COMPAT=3
topdir=$(shell pwd)
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
jam=jam
binname=bjam
build: build-stamp
build-stamp: configure-stamp
build-stamp: debian/jam.1
dh_testdir
# Add here commands to compile the package.
$(MAKE)
# bootstrap
${MAKE}
# update generated files
rm jamgram.c jamgram.h
${MAKE}
touch build-stamp
%.1: %.man.sgml
/usr/bin/docbook-to-man $< > $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
rm -f build-stamp
rm -rf bin.*
rm -f jam0 debian/jam.1
dh_clean
install: build
@@ -51,10 +46,11 @@ install: build
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/bjam.
BINDIR=$(CURDIR)/debian/bjam/usr/bin DOCDIR=$(CURDIR)/debian/bjam/usr/share/doc/bjam jam0 install
# Don't want vanilla jam here for now, at least because it would conflict with jam package.
rm $(CURDIR)/debian/bjam/usr/bin/jam
./jam0 -sBINDIR=${topdir}/debian/${jam}/usr/bin install
cd debian/${jam}/usr/bin && mv jam ${binname}
install -d ${topdir}/debian/${jam}/usr/share/man/man1/
install -m644 debian/jam.1 ${topdir}/debian/${jam}/usr/share/man/man1/${binname}.1
# Build architecture-independent files here.
binary-indep: build install
@@ -64,27 +60,14 @@ binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
# dh_installdebconf
dh_installdocs
dh_installexamples
dh_installmenu
# dh_installlogrotate
dh_installdocs README RELNOTES Jambase *.html
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
dh_installcron
dh_installman
dh_installinfo
# dh_undocumented
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_makeshlibs
dh_installdeb
# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums