Commit Graph

96 Commits (ef003f48f4a3fe8fb67fda62c70a299b07d75976)

Author SHA1 Message Date
Joey Hess 862caff2a9 debhelper v7; rules file minimisation. 2009-02-15 20:12:16 -05:00
Joey Hess cc055d2c95 makefile portability patch
from Thomas Keller, who explains:

1) find -wholename is not available on BSD / OSX (a nice rant about this
issue is here: http://fuhm.livejournal.com/1848.html)

2) cp -a is not available on BSD / OSX, there is an alternative install
call, but it might be cool to just shut up cp complaining about it... ;)

3) Two find calls have been missing the path argument.
2009-02-04 21:08:03 -05:00
Joey Hess 6d785d6401 Add auto-blog.setup
It will set up an ikiwiki instance tuned for use in blogging.

As part of this change, move the example sites into /usr/share/ikiwiki so
they are available even if docs are not installed.
2009-01-12 19:04:24 -05:00
Joey Hess 30360b3f53 add W3M_CGI_BIN setting 1997-08-14 08:26:03 -04:00
Joey Hess 4413307afa preserve underlay file times
I'd like to preserve the mtime and ctime of files in the underlay if
possible, to avoid ikiwiki thinking they've changed and refreshing them
each time it's upgraded.

But, fall back to the old install command for systems that lack cp -a.
2008-10-19 19:25:23 -04:00
Joey Hess bc7381c4f9 listdirectives: Enable use of the directives underlay. 2008-09-11 18:46:32 -04:00
Joey Hess 981d0474a1 Ignore failure to install files into /etc, in case install is running as non-root. 2008-08-29 15:53:46 -04:00
Joey Hess 8709ec2482 avoid installing .pyc files 2008-08-27 15:25:26 -04:00
Joey Hess af17ff4de5 add target to aid benchmarking 2008-08-23 15:58:59 -04:00
Joey Hess 15ed67132e Revert "Add missing PREFIX to a few lines of the Makefile. (Thomas Keller)"
This reverts commit 65c12dffec.

Turns out we can't use PREFIX for files in /etc, because that would tend to
put them in /usr/etc, which is bad..
2008-08-21 23:12:14 -04:00
Joey Hess 65c12dffec Add missing PREFIX to a few lines of the Makefile. (Thomas Keller) 2008-08-21 22:25:36 -04:00
Joey Hess dec9b4e2c9 Avoid using cp -a (again). (HenrikBrixAndersen) 2008-08-21 16:21:40 -04:00
Joey Hess 15341aed01 don't install demo external plugins by default 2008-08-02 16:53:20 -04:00
Joey Hess 1916afc603 rename 2008-07-27 16:08:44 -04:00
Joey Hess e1f7146041 avoid clobbering example diffurl 2008-07-27 00:54:15 -04:00
Joey Hess 4cbcd9bb3b avoid leaking HOME 2008-07-26 23:04:37 -04:00
Joey Hess e99cc6dd9e generate an example ikiwiki.setup as part of the build 2008-07-26 23:02:46 -04:00
Joey Hess 4604fadf0a preserve modes of external plugin files
proxy.py should not be executable
2008-07-26 20:59:40 -04:00
Joey Hess d370052672 use PERL 2008-06-02 12:14:09 -04:00
Joey Hess 479f75abf4 defer po and pot file updating until package build time
This allows make to be run without polluting the tree with lots of po file
changes.
2008-03-21 16:32:23 -04:00
Joey Hess f030bce812 updates to support current version of Devel::Profile 2008-03-21 05:09:42 -04:00
Joey Hess 127d97066b Time::Duration is no longer used, remove from docs and recommends. 2008-03-19 21:59:40 -04:00
martin f. krafft 36580186a0 Prevent plugins/.gitignore from being installed
I added a .gitignore file to plugins/ to ignore *.pyc files, and that
file is now being installed +x to /usr/lib/ikiwiki/plugins. This commit
prevents that by excluding all dot-files under plugins/ from the
install.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-18 12:58:09 -04:00
Joey Hess 6a6f8e5a29 pass -libdir so external plugins can be used 2008-03-15 13:37:40 -04:00
Joey Hess 36772b85bf clean .myc files from plugins 2008-03-15 13:20:10 -04:00
Joey Hess d14bde197e * Disable taint checking for all builds as people keep complaining about it,
and since all versions of perl seem to be hopelessly broken.
2008-02-24 15:42:43 -05:00
Joey Hess 49adc59474 * Setting NOTAINT=1 had no effect when building ikiwiki itself, fix this. 2008-02-12 17:17:49 -05:00
Joey Hess 61ffa4a816 rename ikiwiki-prefix-directives into ikiwiki-transition
If we have transitions of this sort in the future, this program will
hopefully be used to handle them too.
2008-01-30 17:22:59 -05:00
Josh Triplett 1b03a06c8c Add new preprocessor directive syntax¸ using a '!' prefix.
Add a prefix_directives option to the setup file to turn this syntax
on; currently defaults to false, for backward compatibility.  Support
optional '!' prefix even with prefix_directives off, and use that in
the underlay to support either setting of prefix_directives.  Add NEWS
entry with migration information.
2008-01-27 16:14:38 -08:00
Joey Hess e35eb5a418 * Add a prereq on Data::Dumper 2.11 or better, needed to dump q// objects. 2008-01-07 18:12:12 -05:00
Joey Hess 191287b72f pass -refresh 2007-12-28 17:12:43 -05:00
Joey Hess 852999c5e1 add a setup file for building the doc wiki 2007-12-19 17:31:28 -05:00
Joey Hess fd6d85aa79 * Added a version plugin that saves state about what's using it, to force
pages to rebuild when ikiwiki's version changes.
2007-12-08 18:33:08 -05:00
Joey Hess 491847ed53 * Add a new ikiwiki-makerepo program, that automates setting up a repo
and importing existing content for svn, git, and mercurial. This makes
    the setup process much simpler.
  * Reorganised git documentation.
  * Actually install the ikiwiki-update-wikilist program.
2007-11-27 00:34:17 -05:00
joey 8912533997 bugfix 2007-09-09 02:06:04 +00:00
joey 926c04e844 commit.
* Add the ikiwiki-update-wikilist command.
2007-09-06 00:32:11 +00:00
joey 8fd13334af fix path issue when runnign test 2007-09-05 23:51:08 +00:00
joey 9c5f4761d8 * Support for looking in multiple directories for underlay files.
* Plugins can add new directories to the search path with the add_underlay
  function.
* Split out smiley underlay files into a separate underlay, so if the plugin
  isn't used, the wiki isn't bloated with all those files.
2007-08-28 01:59:01 +00:00
joey 7946c67d1f * Avoid ugly gettext messages if LANG is empty. Closes: #439035 2007-08-21 21:19:53 +00:00
joey 506bcbac04 * Fix --libdir to work at the command line.
* Plugins can now be written as standalone external programs, which can
  be written in any language that can do XML::RPC.
2007-08-13 03:07:31 +00:00
joey 05fbbad4b4 build fixes 2007-05-20 01:04:24 +00:00
joey f23ebaad2e * Apply patch from Pawel to avoid using -L in Makefile as it's not available
in older finds.
2007-05-10 18:59:02 +00:00
joey 0d01b4f426 updates for usedirs 2007-04-29 22:57:21 +00:00
joshtriplett e97b63c95a * Avoid using GNU extensions to cp during "make install", which did
not work on FreeBSD.  Thanks to Henrik Brix Andersen for the patch.
2007-04-29 21:53:26 +00:00
joey d494bbcb34 tmon.out removed by stock clean rule actually.. 2007-04-27 19:51:30 +00:00
joey 80b0165ff8 * Avoid .svn directories when installing from svn checkout. 2007-04-26 22:58:01 +00:00
joey 88ffeae6ee * Add support for PROFILE=1 to the Makefile, this turns on profiling of the
wiki build using Devel::Profiler (Dprof can't handle ikiwiki).
2007-04-10 00:26:15 +00:00
joey f59796697d --no-rcs is the default now, so no need to explicitly specify 2007-03-29 22:36:18 +00:00
joey fe350344ca PERL5LIB won't work when using the taint flag, and use lib "." is removed
since ikiwiki.out is run now. So switch to using -I.
2007-02-21 00:36:57 +00:00
joey c214f263d6 supposed to run ikiwiki.out now 2007-02-20 06:11:51 +00:00