Commit Graph

112 Commits (4cb464d6e52344b8a0dfd29e82ede78aef1385d3)

Author SHA1 Message Date
Joey Hess 60d2dd318f Add new --clean option; this makes ikiwiki remove all built files in the destdir, as well as wrappers and the .ikiwiki directory. 2010-02-28 00:12:47 -05:00
Joey Hess 76d72e9bdd more portable use of sed -i
Apparently OS X requires the extension be specified. But this
turns on backup in GNU sed, so have to remove that.
2009-11-09 13:47:37 -05:00
Joey Hess f4c4b3b45f add spec file
Modify makefile to update spec file version number.
2009-10-29 11:38:08 -04:00
Joey Hess 7adb471ff4 install ikiwiki-calendar 2009-10-11 19:56:40 -04:00
Joey Hess fed73d8d92 change PROFILE to use Devel::NYTProf 2009-08-13 21:05:07 -04:00
Joey Hess 29a3334d59 quote version numbers to avoid them being interpreted as unicode characters 2009-07-23 15:25:47 +02:00
Joey Hess 5efda4da29 split out underlay_install target 2009-07-21 13:16:46 +02:00
Joey Hess a7b813182d build translated underlays for use with non-English wikis 2009-07-20 07:20:13 +02:00
Joey Hess 741c33576e create translated underlays in mdwn format
These are for use by wikis where the primary language is not English.
On such a wiki, it makes sense to use an underlay has the source for pages
in the native language.
2009-07-20 06:23:33 +02:00
Joey Hess 08254c7220 use empty underlay dirs when building po underlays 2009-07-20 00:06:41 +02:00
Joey Hess 33e93cd5e9 speed up incremental underlaypo runs 2009-07-19 22:46:53 +02:00
Joey Hess 73682cefec move source removal back to underlaypo rule 2009-07-19 16:43:21 +02:00
Joey Hess a60e4ef4ee move clean code to clean rule 2009-07-19 15:17:38 +02:00
Joey Hess f08bd11f42 rename 2009-07-19 14:54:15 +02:00
Joey Hess 9a61f3050a don't run basewikipo by default yet, comment out all languages 2009-07-19 14:17:31 +02:00
Joey Hess ae4837bb3d add basewikipo po file generation thing 2009-07-19 14:16:21 +02:00
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