Commit Graph

61 Commits

Author SHA1 Message Date
Alex Schroeder
8e3e186fab Fix make release target 2016-07-06 18:14:47 +02:00
Alex Schroeder
2111af2ec8 Fix regular expression in Makefile
Unescaped left brace in regex is illegal in regex.
2016-06-16 09:43:08 +02:00
Alex Schroeder
64e7183896 stuff/release is new 2015-12-19 11:54:19 +01:00
Aleks-Daniel Jakimenko-Aleksejev
0e5f338b40 Prioritize slow tests
By using 「--state=slow,save」 we can probably crunch all tests faster (better
wallclock time). Some tests are taking a lot of time simply because of the
delays (sleeping), so it makes sense to start these tests earlier.
2015-10-21 13:15:34 +03:00
Alex Schroeder
e4f7500340 month-names, national-days: delete cruft
An error in the Makefile treated all *.pl files in the translations
directory as translation files -- including these other files which are
not regular translation files.
2015-10-14 12:23:18 +02:00
Aleks-Daniel Jakimenko
ce2a39d8f1 Allow custom setting for --jobs in make test 2015-10-13 03:21:11 +03:00
Alex Schroeder
6372907c4b Parallelize tests
Using random numbers to generate new test-directories for every test
file. Use t/setup.pl to reset.
2015-10-12 15:13:22 +02:00
Alex Schroeder
da5c5a8275 New make target: new-utf8.pl
Changes to oddtrans make sure that lines starting with # are comments
and will be stripped when the translation file is read. When writing new
translation files, comments are added to indicate which files are being
processed right now. This will help translators figure out where the
texts originated from. Note that every key appears only once, so
translations will be missing in the section for later files if they
appeared in earlier sections.

Recreated new-utf8.pl in order to illustrate the new format.
2015-09-30 17:35:02 +02:00
Alex Schroeder
d1f9c401cd Makefile stripped of untested junk
The Mac subdirectory and all the instructions of how to build and
install Oddmuse on a Mac using the OSX tools have been deleted.

The Slack subdirectory and all the instructions of how to build and
install Oddmuse on Slackware have been deleted.

The contrib/simple-install subdirectory and all the instructions on how
to quickly and easily install Oddmuse using Creole have been deleted.
2015-07-21 09:21:13 +02:00
Alex Schroeder
0949b1556d Makefile: move test target up 2015-05-01 19:33:14 +02:00
Alex Schroeder
a97f6baadf Makefile treats month-names-*.pl differently
Since these files are no longer in modules/ but in
modules/translations, something had to be done.
2015-04-03 09:21:37 +02:00
Alex Schroeder
2cf943d178 Makefile: more fixing for prepare target
The prepare target didn't handle wiki.pl itself correctly. This has been
fixed. The command to add the git tag was changed from sed to perl, like
for the other targets. As emoji.pl and smiles.pl refer to permanent
anchors, the addition of the anchor parameter to AddModuleDescription
was obviously misguided and I reverted it.
2014-08-24 22:20:50 +02:00
Alex Schroeder
f91041b677 Handle AddModuleDescription for translations
The Makefile didn't add tag information for translation files when
running 'make prepare'. This has been fixed. As we cannot have a slash
in the file name, as slashes get escaped in UrlEncode, a new parameter
was added to AddModuleDescription and the Makefile will now set this
parameter for translation files such that the source link will point to
the correct directory ("translations/").
2014-08-24 21:25:38 +02:00
Alex Schroeder
9ba5b119f8 Fix module description to handle version tag.
This makes sure that "make prepare" works once again by allowing an
optional argument to AddModuleDescription with the tag.
AddModuleDescription now also takes an optional anchor which is used by
emoji.pl and smiles.pl.

This commit also updates all the translation files and makes sure that
they all use AddModuleDescription.
2014-08-24 12:31:15 +02:00
Alex Schroeder
b7c1045783 Help users unlock a wiki.
When a lock is blocking the user, offer them a way to unlock the wiki.

Also, update the German translations.
2014-08-21 01:08:25 +02:00
Alex Schroeder
be4bddab30 No longer recreate -utf8 files. 2012-11-16 21:49:56 +01:00
Alex Schroeder
a046436a50 Deutsche Übersetzung auf Vordermann gebracht. 2012-10-27 13:56:40 +02:00
Alex Schroeder
9c996cee04 No longer call oddtrans when modules are changed because of encoding errors introduced. 2012-07-19 09:07:59 -04:00
Alex Schroeder
67d68a370a Merge branch 'master' of ssh://as@git.sv.gnu.org/srv/git/oddmuse
Conflicts:

	Makefile
2012-07-19 04:49:13 -04:00
Alex Schroeder
ccef879ac1 Added "prepare" target to Makefile to add version info to all the sources.
.gitignore added build directory and stuff created by the Mac disk image rules.
2012-07-18 18:34:57 +02:00
Alex Schroeder
17dbca2353 current.pl target now depends on always
The identifier added changes with every commit. A dependency
on wiki.pl alone doesn't work. That's why it now depends on
"always" which is phony.
2012-04-25 04:22:38 -04:00
Alex Schroeder
348f4bcf3b rule to create current.pl from wiki.pl
The file current.pl is the same as wiki.pl but it's
$WikiDescription now contains the git description --tags
output and links to the appropriate entry in
http://git.savannah.gnu.org/cgit/oddmuse.git/refs/
2012-04-24 00:49:27 +02:00
Alex Schroeder
2dbd7bea34 Removed web update code. 2011-04-27 19:22:17 +00:00
Alex Schroeder
25e020e4f5 Added simple-install targets. 2009-11-22 17:11:03 +00:00
Alex Schroeder
7aec649ffb (DIST): Remove weird Mac targets and move them to OLDDIST. 2009-06-07 23:32:39 +00:00
Alex Schroeder
bf7f991af2 (upload-translations): No longer upload to
emacswiki.org; provide secret using -z.
2009-06-07 22:49:20 +00:00
Alex Schroeder
85884faae9 (VERSION_NO): Fixed the command to extract the version
number from wiki.pl because the CVS Id tag now appears twice.
2008-12-06 01:34:10 +00:00
Alex Schroeder
a551d88772 (VERSION_NO): Fix regular expression that determines
the version number to use.
2008-02-22 22:33:31 +00:00
Alex Schroeder
a44fdf7d15 (upload): Use scp instead of ftp. 2007-08-19 15:49:52 +00:00
Alex Schroeder
c0b82c8ea4 Various changes to decouple the production of dist files from the
merging of webpages for the translations.
2007-08-19 15:38:23 +00:00
Alex Schroeder
9ceda81cdf (%-utf8.pl): Take advantage of caching when
downloading.
2007-08-19 12:11:31 +00:00
Alex Schroeder
e2c63988eb (test): Use prove instead of a direct perl call. 2007-08-19 09:58:58 +00:00
Alex Schroeder
48ab7c22de More fiddling with the Slackware .tgz rule. 2006-10-22 17:21:26 +00:00
Alex Schroeder
c2a34c1ad7 Added rule for Slackware package. 2006-10-22 17:10:36 +00:00
Alex Schroeder
9e5bef21f4 Added rule to build package and disk-image for Mac OSX
releases.
2006-10-21 21:35:10 +00:00
Alex Schroeder
574d9ff08c Added rules to make .pkg and .dmg, changed some rules
to refer to $@.
(PACKAGEMAKER): New.
(PWD): New.
(upload): Add .dmg and .dmg.sig.
2006-10-15 19:28:25 +00:00
Alex Schroeder
92660aa025 Removed old test target. 2006-09-19 23:56:28 +00:00
Alex Schroeder
d60675efc8 (test): Replace call to test.pl with a Test::Harness
call.
(oldtest): Keep the old tests until migrated.
2006-09-19 11:05:01 +00:00
Alex Schroeder
99eb7c9277 (upload): Upload oddmuse-inkscape tarball, too.
($(UPLOADVERSION).tar.gz): Build oddmuse-inkscape tarball.
(UPLOADVERSION, INKSCAPE): New file lists.
2006-08-31 18:23:40 +00:00
Alex Schroeder
8c0bb736dd (test): Add beep at the end. 2006-03-18 19:54:43 +00:00
Alex Schroeder
89b2ec4e52 Change name of the upload script. 2006-01-25 13:47:34 +00:00
Alex Schroeder
010c6ff027 removed fix target 2005-07-15 08:35:38 +00:00
Alex Schroeder
659eb5e260 fix TRANSLATIONS directory 2005-07-01 23:58:25 +00:00
Alex Schroeder
9ef48958c4 (fix): New convenience target. 2005-04-12 22:40:16 +00:00
Alex Schroeder
f9966eff51 *** empty log message *** 2005-03-06 16:29:44 +00:00
Alex Schroeder
0c7b3f18d7 Change all the rules dealing with translation files again. 2004-12-27 01:59:51 +00:00
Alex Schroeder
e097af6efe (upload-translations): Fix bug. 2004-12-18 16:16:38 +00:00
Alex Schroeder
e83bc6e9fb update-translations no longer does the CVS thing. This was moved to upload-translations. 2004-12-12 00:08:49 +00:00
Alex Schroeder
e0a3fb7579 (test): Changed test script to test.pl. 2004-12-05 21:32:45 +00:00
Alex Schroeder
1893181bf6 (*-utf8.pl): Interface with CVS and wiki. 2004-12-03 08:34:03 +00:00