Commit graph

21 commits

Author SHA1 Message Date
Adam Spiers 06fdfc185f merge unstow_orig.t into unstow.t and fix unstowing logic
There was a ton of duplication which is not maintainable, so refactor
everything into a single test which still covers the differences.

This in turn revealed some issues in the unstowing logic:

- We shouldn't conflict if we find a file which isn't a link or a
  directory; we can just skip over it.

- Unstowing with `--dotfiles` was using the wrong variable to obtain
  the package path, and as a result having to perform an unnecessary
  call to `adjust_dotfile()`.

So fix those at the same time.
2024-04-07 15:47:38 +01:00
Adam Spiers 001b287b1b allow playground/ directory for testing stuff 2024-04-07 15:47:38 +01:00
Adam Spiers 22ca973d59 Switch to makeinfo --html --no-split for single-page HTML manual (#21)
Remove the dependency on the ancient and unmaintained texi2html, which
was difficult to get running on most distros other than openSUSE.

There are two more modern alternative approaches which can replace
this:

  - Use texi2any
  - Use makeinfo --html --no-split

The latter seems to be the standard way these days, so we switch to
that; however we keep Makefile rules for all three, and a phony
meta-rule 'manual-single-html-all' to allow quick comparison between
them.  Make tweaks accordingly to minimise the differences and improve
the output.

The rules for the older two approaches do not get triggered by
default.

Fixes #21: https://github.com/aspiers/stow/issues/21
2019-06-26 13:48:06 +01:00
Adam Spiers 5123a585a2 ignore cover_db generated by Coveralls 2016-11-20 22:57:39 +00:00
Adam Spiers 43333b8eca add Stow/Util.pm.in with @VERSION@ substitution
This is now necessary in order to prevent pause.perl.org from
complaining:

    Status: Decreasing version number
    =================================

         module : Stow::Util
         version: undef
         in file: lib/Stow/Util.pm
         status : Not indexed because lib/Stow/Util.pm in
                 A/AS/ASPIERS/Stow-v2.2.0.tar.gz has a higher version number
                 (0)
2015-11-09 12:36:51 +00:00
Adam Spiers 6c3c617fd2 Ignore tmp-testing-trees anywhere. 2012-02-18 17:14:50 +00:00
Adam Spiers a17537af3e Give up on automake's built-in rules for generating PDF and HTML and use our own.
Also include split version of the manual.
2011-12-03 14:42:41 +00:00
Adam Spiers 4e831ae7bd Add result of ./Build dist to .gitignore 2011-11-28 23:47:53 +00:00
Adam Spiers e915435f32 Ignore split page version of HTML manual. 2011-11-28 23:47:53 +00:00
Adam Spiers 81da7be357 Sync up .gitignore and MANIFEST* with recent changes. 2011-11-26 16:34:57 +00:00
Adam Spiers 00d4e68445 Auto-generate ChangeLog from git 2011-11-26 16:34:57 +00:00
Adam Spiers 685d449963 Sort .gitignore alphabetically 2011-11-26 16:34:57 +00:00
Adam Spiers 62c513d7bc Add some missing stuff to .gitignore 2011-11-26 16:34:57 +00:00
Adam Spiers 10ea9c6f4b Numerous fixes so that `make distcheck' succeeds.
Moves temporary test trees into a separate directory.
2011-11-26 16:34:57 +00:00
Adam Spiers ad77ca6db7 Add HTML and PDF versions of manual to distribution. 2011-11-26 16:34:50 +00:00
Adam Spiers f93796dce3 Add MYMETA.* to .gitignore 2011-11-26 15:10:27 +00:00
Adam Spiers 0cd971d3a1 Add .dirstamp and stamp-vti to .gitignore 2011-11-26 15:10:27 +00:00
Adam Spiers a84ba4c16d Convert man page to POD format which is easier to maintain within stow.in. 2011-11-26 15:10:27 +00:00
Adam Spiers dc61da22d4 Major refactoring of code into separate Stow and Stow::Util Perl modules 2011-11-24 16:56:11 +00:00
Adam Spiers 9f8a6c2be3 Remove auto-generated files from git. 2011-11-24 16:55:43 +00:00
Adam Spiers b5697ce98e Add .gitignore 2011-11-17 12:38:37 +00:00