Commit Graph

237 Commits

Author SHA256 Message Date
Frank Sundermeyer
1ac9e7b43f - Using a stylesheet rather than the buggy /usr/bin/xml to get the
rootid of a file for target checklink

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=37
2011-08-11 14:32:34 +00:00
Thomas Schraitle
20c464f525 Fixed daps archive
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=36
2011-08-10 14:50:50 +00:00
Thomas Schraitle
4aa899c620 - Changed standard layout from Novell to SUSE
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=35
2011-08-10 14:38:52 +00:00
Frank Sundermeyer
ef8ae227c4 - BUGFIX: target checklink now exits when no rootid or filename is
specified; rootid from ENVfile is ignored

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=34
2011-08-08 09:57:07 +00:00
Frank Sundermeyer
017a00160a - BUGFIX: Profiling was only redone when the _xml_ source files had
changed, not when the entity files had changed - added a
          dependency on *.ent to the profiling target $(PROFILES) 
          to fix this

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=33
2011-08-05 15:09:22 +00:00
Frank Sundermeyer
f20f62d159 - BUGFIX: getimages function did not work in verbose or
debug mode

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=32
2011-08-05 14:46:50 +00:00
Frank Sundermeyer
93da524c7e - adding a workaround for the crappy xml program that has no catalog
support

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=31
2011-08-04 14:01:02 +00:00
Frank Sundermeyer
b9edd36940 - Colored output is now automatically disabled when not being on a
Terminal - so you now pipe daps commands to other programs
  (e.g. a PDF Viewer or a browser)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=30
2011-08-04 12:16:43 +00:00
Frank Sundermeyer
949b99f803 - Added option --file to target checklink
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=29
2011-08-04 10:24:33 +00:00
Frank Sundermeyer
1da73fae61 - Changing target validate again: when being called explicitly, it
now always checks profiled sources _with remarks_ ($REMARKS is
  set to 1). Options -r and -c have been removed again. 
- Bugfix: Using $@ instead of $SCMD_ARGS in getopts calls in
  lib/daps_functions

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=28
2011-08-01 14:38:22 +00:00
Frank Sundermeyer
70f5b2f850 - we need to be able to install daps and susedoc in parallel
internally, so removed the Obsoletes: susedoc statement
  from the spec file
- target validate can now be called with -r and -c, too

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=27
2011-08-01 11:34:52 +00:00
Frank Sundermeyer
f1478c5f73 - Bugfix: daps-susespell: the extra-dict was not invoked correctly
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=26
2011-07-28 15:26:43 +00:00
Frank Sundermeyer
53ca1b9790 - BUGFIX: DAPS_ENV_NAME must not be set in config
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=25
2011-07-26 15:35:17 +00:00
Frank Sundermeyer
39a62ccfef Beta 4
- spec file:  
  * removed obsolete python dependencies (they moved to daps-docmanager)
  * obsoletes susedoc
  * recommends daps-docmanager and aspell+en dicts
- daps-susespell now has a man page and supports additional options
  --lang and --dict

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=24
2011-07-26 10:46:29 +00:00
Frank Sundermeyer
19767aabaa - daps-susespell can now check multiple files
- Bugfix in lib/docbook-macros: Element typo (arearefs)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=23
2011-07-25 20:31:52 +00:00
Frank Sundermeyer
062c1a77a4 - Target checklink (chklnk, jana) now supports --rootid
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=22
2011-07-25 14:27:21 +00:00
Frank Sundermeyer
cad490d083 - Added exits after target calls
- Improved help/README on target init

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=21
2011-07-25 08:20:06 +00:00
Frank Sundermeyer
3f4b11e51b - Bugfix: daps init help now works correctly
- Added a quickstart README
- Improved error handling and verbose output
- The majority of targets now write a logfile

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=20
2011-07-22 21:24:23 +00:00
Frank Sundermeyer
898e16d865 Beta 3
- Bugfix: USEMETA now works correctly
- added new binary daps-susepell (Spellchecker)
- added new target getimages

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=19
2011-07-21 15:35:27 +00:00
Frank Sundermeyer
574009d5b9 - Bugfixes
* replaced @VERSION@ and @DATE@ in daps man page
  * daps error messages now go to STDERR
  * DTDROOT/xslt (STYLEDEVEL) is the new defaul-LAYOUTROOT
  * Fixed the long-standing bug that required to activate remarks
    _and_ comments in order to see remarks
    
- new optional config option for ~/.daps/config: DAPS_ENV_DEFAULT
  to specify a default ENVFILE. If set, will be automatically used
  unless an alternative ENVFILE is specified on the commandline via
  -e/--envfile or via a sourced ENVFILE by DAPS_ENV_NAME
- added new target showenv that print variables ENVFILE and BASE_DIR;
  can output more variables if needed

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=18
2011-07-20 15:40:24 +00:00
Frank Sundermeyer
8c266e7470 - format_options needs to be called from the main call_make functions
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=17
2011-07-19 21:16:51 +00:00
Frank Sundermeyer
1ec62aa470 - Bugfix: Sourcing an ENV with DAPS_ENV_NAME set did not work
- Bugfix: Command line arguments for comments, drafts and remarks
  were not properly exported

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=16
2011-07-19 14:45:08 +00:00
Frank Sundermeyer
0a17513d7c - Moved daps-xmlformat to bin
- specifying a default ENVfile with DAPS_ENV_NAME=<ENV> in
  ~/.daps/config now also works when BASE_DIR is specified

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=15
2011-07-14 15:26:23 +00:00
Frank Sundermeyer
30830d983e - added a new subcommend: init, which creates a working environment incl.
an ENV file and a xml/MAIN

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=14
2011-07-14 14:22:46 +00:00
Frank Sundermeyer
db934a2be4 - Fixed a bug in xslt/misc/get-all-used-files.xsl; common.mk needed
to be changed, too
- error messages are directed to /dev/null when calling make_nolog

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=13
2011-07-13 15:28:06 +00:00
Frank Sundermeyer
eb6924d4d8 - LOG_DIR was not exported
- when running showvariable the date was always printed with the
  result - this is hopefully fixed now
- Expanded ENV conversion example in the upgrade README

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=12
2011-07-13 13:33:56 +00:00
Frank Sundermeyer
dd857eca11 - replaced the last remnants of "susedoc" with "daps"
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=11
2011-07-13 11:47:43 +00:00
Frank Sundermeyer
f611f1606f - Removed copy pdf from package PDF
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=10
2011-07-13 08:56:46 +00:00
Frank Sundermeyer
1800c01ce0 - fixed dist-graphics (images were packed with absolute path)
- fixed HTML-USED (imagelist was wrong)
- fixed USED (removed double entries)
- added --extra-files option to package-src in order to be able
  to pack additional ENVfiles
- added --fop option for package-pdf
- packaging targets now have their own function in daps_functions

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=9
2011-07-13 07:58:30 +00:00
Frank Sundermeyer
6e5b7f2b61 - lib/daps_functions: Fixed xep wrapper call
(susedoc-xep -> daps-xep)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=8
2011-07-11 09:42:19 +00:00
Frank Sundermeyer
1b72cb2f56 - common.mk: Another fix for projectfiles/reminingfiles: $INCLUDED
must include $MAIN, otherwise getentityname.py will be called with
  an empty $INCLUDED if the book only contains a single MAIN file

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=7
2011-07-08 13:16:47 +00:00
Frank Sundermeyer
66fa9e30ad - common.mk: MAIN was missing in projectfiles; fixed remainingfiles
- added TODO for man page generation

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=6
2011-07-08 12:35:09 +00:00
Karl Eichwalder
72aa47e047 minor .spec cleanup
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=5
2011-07-08 06:17:27 +00:00
Frank Sundermeyer
94ad168a8a - Changed the IDs in /etc/xml/suse-catalog.xml to something that
makes more sense

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=4
2011-07-07 09:39:17 +00:00
Frank Sundermeyer
049985ab13 - Fix for -e/-b options
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=3
2011-07-07 08:07:43 +00:00
Frank Sundermeyer
3276a9f571 - added short options -b and -e for basedir and envfile
- reformatted help

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=2
2011-07-06 15:12:55 +00:00
Frank Sundermeyer
2f1e2955da First public beta of daps, the successor of susedoc
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=1
2011-07-01 23:12:32 +00:00