1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00
Commit Graph

10 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
e17e5fe435 mkdist: Don't copy manual.html-chunked.tar.gz 2010-09-15 23:06:19 +03:00
Kalle Olavi Niemitalo
87e88df268 mkdist: Don't create a .git directory.
That was a remnant from the time when mkdist created a .git/HEAD
referring to the commit from which the distribution was made.
Nowadays, it creates git-commit-id instead.
2009-06-03 10:55:18 +03:00
Kalle Olavi Niemitalo
4ffe6a1b6d mkdist: include po/elinks.pot 2008-07-04 23:56:10 +03:00
Kalle Olavi Niemitalo
d5dcdb4d92 mkdist: separate md5 file for each file
md5sum -c exits with code 1 if some of the files listed in the md5
file are missing, so each md5 file should list only those files that
the user is supposed to download together.  This is also how
elinks-web/download.html has been set up.
2008-07-02 01:06:43 +03:00
Kalle Olavi Niemitalo
9b7de0a039 mkdist: create git-commit-id instead of .git/HEAD
.git/HEAD in elinks-0.12pre1.tar.gz broke git-import-orig in Debian's
git-buildpackage 0.4.33:

$ git init
Initialized empty Git repository in .git/
$ git-import-orig ~/src/elinks-seek/elinks-0.12pre1.tar.gz
Upstream version is 0.12pre1
Initial import of '/home/Kalle/src/elinks-seek/elinks-0.12pre1.tar.gz' ...
fatal: bad object HEAD
Traceback (most recent call last):
  File "/usr/bin/git-import-orig", line 243, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/git-import-orig", line 201, in main
    import_upstream_tree(repo, orig_dir, version, options.filters, verbose=not is_empty)
  File "/usr/bin/git-import-orig", line 65, in import_upstream_tree
    if replace_source_tree(repo, src_dir, filters, verbose=True):
  File "/var/lib/python-support/python2.5/gbp/git_utils.py", line 145, in replace_source_tree
    return not repo.is_clean()[0]
  File "/var/lib/python-support/python2.5/gbp/git_utils.py", line 78, in is_clean
    if out[0].startswith('#') and out[1].strip().startswith(clean_msg):
IndexError: list index out of range

So let's try with a "git-commit-id" file outside of .git/ instead.
I also considered ".git-commit-id" but that could give the impression
that Git itself reads the file for some purpose.
2008-07-01 02:50:27 +03:00
Kalle Olavi Niemitalo
2338d9124a mkdist: build documentation unless -d given
The documentation has version numbers in a few places and it's easier
to get those right this way than by building it elsewhere before
running mkdist.  This change slows down mkdist but ccache can mitigate
some of that and snapshots use prebuilt documentation anyway.
2008-06-30 20:36:56 +03:00
Kalle Olavi Niemitalo
6e3011b29a mkdist: use git instead of cogito
<http://git.or.cz/cogito/> says Cogito is deprecated and unmaintained.
2008-06-30 20:36:54 +03:00
Kalle Olavi Niemitalo
80aa801e6a mkdist: avoid echo
According to SUSv3, "New applications are encouraged to use printf
instead of echo."
2008-06-30 20:36:52 +03:00
Kalle Olavi Niemitalo
49678b9320 Rewrote contrib/mkdist.
* All arguments must now be given as options.
* Documented.
* chmod +x in Git.
* Do not distribute files whose contents should depend on what the
  configure script found: config.h, config.log, config.status,
  features.log, Makefile.config, contrib/conv/w3m2links.awk,
  contrib/lua/hooks.lua, doc/man/man1/elinks.1.
* Do not distribute other files that configure will rebuild anyway:
  src/intl/gettext/ref-add.sed, src/intl/gettext/ref-del.sed.
  But do distribute contrib/elinks.spec, because it specifies how
  to run configure, and only the @VERSION@ varies in it.
* Do not distribute the empty directory po/.deps.
* Save the commit ID into .git/HEAD in the tar file.
* Compress the *.tar.gz and *.tar.bz2 from the same *.tar file.
* Instead of *.tar.gz.md5 and *.tar.bz2.md5, generate a *.md5 file
  that contains md5sums for *.tar, *.tar.gz, and *.tar.bz2.
* Use md5sum --binary for the sake of Windows.
2007-07-19 22:02:01 +03:00
Kalle Olavi Niemitalo
097195bef4 Add contrib/mkdist, used for making ELinks snapshots and releases.
This is the mkdist to which doc/release.txt refers.
The script was originally written by Pasky and then modified by Fonseca.
This version doesn't know the correct directory names and so won't work
without modifications, but it seems better to check it in now than wait.
2007-04-22 18:01:22 +03:00