1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

47 Commits

Author SHA1 Message Date
Andreas Schneider
e4371a4c3b release-script: Fix shellcheck errors
./release-scripts/build-docs:4:7: error: Double quote array expansions
to avoid re-splitting elements. [SC2068]

Same error for the other scripts.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>

Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org>
Autobuild-Date(master): Wed Aug 17 11:03:54 UTC 2022 on sn-devel-184
2022-08-17 11:03:54 +00:00
Andreas Schneider
55cd39b92c release-scripts: Reformat shell scripts
shfmt -f release-scripts/ | xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-03-03 00:59:34 +00:00
Stefan Metzmacher
b2986dcb1d release-scripts/build-manpages-nogit: run make realdistclean at the end
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2015-08-17 17:43:36 +02:00
Karolin Seeger
09aaa991ef build-htmlman-nogit: Run build-htmlman-nogit with bash.
On debian/ubuntu, the "dash" which is sh, does not
provide pushd/popd...

Signed-off-by: Karolin Seeger <kseeger@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu May 30 04:48:06 CEST 2013 on sn-devel-104
2013-05-30 04:48:06 +02:00
Karolin Seeger
fa3cca3fb0 build-htmlman-git: Run build-htmlman-git with bash.
On debian/ubuntu, the "dash" which is sh, does not
    provide pushd/popd...

Signed-off-by: Karolin Seeger <kseeger@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-30 10:57:40 +10:00
Karolin Seeger
737dd2a9fd build-htmlman-nogit: manpages-3 has been moved to manpages.
Signed-off-by: Karolin Seeger <kseeger@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-30 10:57:40 +10:00
Karolin Seeger
ce8bbdd9fc build-htmlman-git: manpages-3 has been moved to manpages.
Signed-off-by: Karolin Seeger <kseeger@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-30 10:57:40 +10:00
Andrew Bartlett
a153eb0d21 build: Remove old create-tarball release script
Releases are now done via "waf dist" and script/librelease.sh.

Andrew Bartlett

Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27 11:57:04 +10:00
Alexander Bokovoy
4a21d2e779 Fix release script to build full set of documentation
build-docs script was not setting XML catalog properly.

In addition, some time ago pdf versions of images were introduced as
generated dependencies in our books but svg -> pdf rule was not added,
so building books never finished properly.

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Tue Oct  2 16:21:23 CEST 2012 on sn-devel-104
2012-10-02 16:21:23 +02:00
Michael Adam
b938979831 release-scripts: run build-manpages-nogit with bash
On debian/ubuntu, the "dash" which is sh, does not
provide pushd/popd...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12 23:52:48 +02:00
Michael Adam
3c5d2d5bcf release-scripts: run build-manpages-git with bash
On debian/ubuntu, the "dash" which is sh, does not
provide pushd/popd...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12 23:52:45 +02:00
Michael Adam
cfdab79729 release-scripts: let build-manpages-nogit store generated docs under ./bin/docs
not under ./docs

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12 23:52:38 +02:00
Michael Adam
068ae4824a release-scripts: let build-manpages-git store generated docs under bin/docs/
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12 23:52:32 +02:00
Karolin Seeger
54f1ce4c79 docs: Rename htmlman3 -> htmlman.
Karolin

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Mon Sep 10 14:19:42 CEST 2012 on sn-devel-104
2012-09-10 14:19:42 +02:00
Michael Adam
eb4483e63c release-scripts: adapt build-manpages-nogit to renamed manpage directory 2012-09-10 01:06:49 +02:00
Michael Adam
f5da2c1356 release-scripts: adapt build-manpages-git to moved manpage directory 2012-09-10 01:06:48 +02:00
Stefan Metzmacher
84d9cdb511 release-scripts/create-tarball: always create a tag in form of samba-${version}
metze
2011-06-30 17:12:05 +02:00
Michael Adam
757cfc296a release-scripts: add build-htmlman-nogit
non-git version of a script to ease building of html version of manpages

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Jan 18 15:07:09 CET 2011 on sn-devel-104
2011-01-18 15:07:09 +01:00
Michael Adam
30e9ab1857 release-scripts: add build-htmlman-git
git version of a script to ease building of html version of manpages
2011-01-18 14:20:12 +01:00
Michael Adam
156c188839 release-scripts: add gpl header comment to build-manpages-nogit 2011-01-18 14:19:07 +01:00
Michael Adam
9e1bc39f76 release-scripts: add gpl header comment to build-manpages-git 2011-01-18 14:18:08 +01:00
Michael Adam
7fe7d656e2 release-scripts: remove commented out line from git-version 2011-01-18 14:17:15 +01:00
Michael Adam
56f127d736 no need any more to manually create catalog file in build-manpages-nogit 2010-09-23 03:05:48 +02:00
Michael Adam
60d5a83e9e no need any more to create catalog file manually in build-manpages-git 2010-09-23 03:05:48 +02:00
Michael Adam
791246b857 add script to build only the manpages (not the complete docs) - no-git version
this version uses make clean to clean the source tree before building
2010-09-23 03:05:48 +02:00
Michael Adam
b56ebe5cac add script to build only the manual pages (not all the docs) - git version
the git version uses git clean to clean the docs source tree.
2010-09-23 03:05:48 +02:00
Volker Lendecke
3c3cfb9806 Fix a typo 2010-07-17 21:23:07 +02:00
Michael Adam
b845025daf s3:release-scripts: fix create-tarball to treat vendor patch level correctly 2010-03-08 23:38:55 +01:00
Karolin Seeger
77e2d2f1d2 create-tarball: Make it more comfortable to use the --copy-docs option.
Now you can directly specify the 'make release' output dir without any
modifications.

Karolin
2009-11-26 11:27:25 +01:00
Jelmer Vernooij
7248ff6d8f s3: Remove two more DFSG-nonfree text documents at release time. (Debian bug 2009-11-15 20:52:11 +01:00
Karolin Seeger
571f20cd4d release-scripts: Remove RFCs in source4/.
Remove RFCs as they are non-free content (with a strict interpretation of
the DFSG). Addresse Debian bug #538034.

Karolin
2009-07-28 13:22:35 +02:00
Michael Adam
b319549f12 build-docs: cleanup exit of the script
exit in the directory where it was called using pushd/popd.

Michael
2009-01-21 15:12:18 +01:00
Karolin Seeger
157864d1e8 build_docs: Use 'make distclean' instead of 'make clean'.
This fixes bug #6058.
Thanks to Christian Perrier for reporting!

Karolin
(cherry picked from commit 162e4b6660)

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-21 13:56:59 +01:00
Karolin Seeger
ab4e84f09a build-docs: Change to the right directory before calling 'make clean'.
This fixes build-docs if it's called from the create-tarball script.

Karolin
(cherry picked from commit dd3ef73c8c)
(cherry picked from commit 8dd3a7bfde)

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-21 13:56:59 +01:00
Karolin Seeger
9ec279f8e6 build-docs: Add 'make clean'.
Karolin
(cherry picked from commit cf40fb9723)

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-21 13:56:58 +01:00
Michael Adam
ce3e34d37c s3:create-tarball: also include the VENDOR_PATCH in the version
Michael
2009-01-21 11:46:36 +01:00
Karolin Seeger
12e72140b9 build-docs: Use 'git clean' instead of 'git-clean'.
Karolin
2008-11-19 13:16:38 +01:00
Karolin Seeger
0cba859f12 s3 create-tarball.sh: Remove dashes in git commands.
Newer git versions (e.g. 1.6.0.2) do not provide the 'git-' commands
any longer.

Karolin
2008-11-17 15:23:34 +01:00
Karolin Seeger
31dc362947 create-tarball: Adapt script to changed directory structure.
Karolin
2008-09-22 09:03:35 -07:00
Karolin Seeger
cb4d7b48e5 create-tarball: Don't remove /*.
These strings do appear several times. Extend the grep pattern to
get the right string only. This avoids the removal of /*!

Karolin
2008-09-22 09:03:35 -07:00
Karolin Seeger
a99a176707 create-tarball: Remove trailing/leading whitespaces.
Karolin
2008-09-22 09:03:35 -07:00
Gerald (Jerry) Carter
a263fa04e4 Add workaround for docs build and dependency on parameters.all.xml
(cherry picked from commit d4f5b5255f)
(This used to be commit c8154142d9)
2008-09-05 10:59:37 +02:00
Gerald W. Carter
175909f4e1 Release scripts: Update create-tarball to include docs and other packaging details.
I've updated the create-tarball script to support command line options,
docs build (or copy and existing build), and to run the packaging update
scripts.

  $ release-scripts/create-tarball --help
  Usage release-scripts/create-tarball [options]
      --help             Print command usage
      --branch <name>    Specify the branch to to create the archive file from
      --copy-docs <dir>  Copy documentation from <dir> rather than building
      --tag <name>       Tag name for release
      --keyid <email>    The GnuPG key ID used to sign the release tag
(This used to be commit 7c96795e59)
2008-06-03 11:20:44 -05:00
Gerald (Jerry) Carter
9acd33131c Add simple script to build docs
(This used to be commit 0865f4615d)
2008-05-27 12:02:41 -05:00
Karolin Seeger
0289067c6b ask for the keyid in the release script.
(This used to be commit bccae94874)
2008-03-04 17:27:08 +01:00
Karolin Seeger
40ad573190 Fix release script.
(This used to be commit 400609bce5)
2008-02-29 17:03:00 +01:00
Gerald W. Carter
742fb9a620 Adding basic script to help in the creation of tarballs for release.
Developers can use this to create tarballs for testing or general
purpose QA.

   Usage: release-scripts/create-tarball

The script will prompt for information as necessary.
(This used to be commit 1df8f98602)
2008-01-15 16:53:26 -06:00