Browse Source
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kile@1088055 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
commit
2c945cd914
1908 changed files with 505579 additions and 0 deletions
@ -0,0 +1,5 @@
|
||||
Pascal Brachet <pascal.brachet{at}club-internet.fr> |
||||
Thomas Braun <braun{at}physik.fu-berlin.de> |
||||
Holger Danielsson <holger.danielsson{at}versanet.de> |
||||
Michel Ludwig <michel.ludwig{at}kdemail.net> |
||||
Jeroen Wijnhout <Jeroen.Wijnhout{at}kdemail.net> |
@ -0,0 +1,51 @@
|
||||
CMake 2.4.4 (or later) is required to build Kile. |
||||
|
||||
Building Kile |
||||
============= |
||||
|
||||
1. Get the Kile directory from trunk (there is no need to get the whole office |
||||
module anymore). |
||||
|
||||
2. Create a "kile-build" directory somewhere for an out-of-source build. |
||||
|
||||
3. Enter the "kile-build" directory and call cmake with: |
||||
|
||||
cmake <path to the kile directory> -DCMAKE_INSTALL_PREFIX=$HOME/.kde |
||||
|
||||
to install Kile later on in the current user's home directory. |
||||
|
||||
4. In the "kile-build" directory, issue "make" to start the build process. |
||||
Issuing "make install" will start the installation process, for which the DESTDIR |
||||
option can be used to specify the base directory of the installed files. |
||||
|
||||
|
||||
Building Documentation |
||||
====================== |
||||
|
||||
The documentation will automatically be built provided that the documentation files |
||||
are located in the following directories: |
||||
<kile-root> |
||||
/doc for the standard documentation and |
||||
accompanying image files |
||||
|
||||
/translations |
||||
/<language> |
||||
/doc for the translated documentation and |
||||
images in language <language> |
||||
|
||||
/messages for the translated message catalogs |
||||
in language <language> |
||||
|
||||
Please note that every docbook must be called "index.docbook" and that only PNG image |
||||
files can be used. Furthermore, message catalogs must be called "kile.po". |
||||
|
||||
When the "doc" and "translations" directories are found, the build targets "docbooks" |
||||
and "translations" will be generated for the compiling of the documentation. |
||||
|
||||
|
||||
Special Flags |
||||
============= |
||||
|
||||
The flag "KILE_VERSION" can be set in the CMake cache to specify the installation |
||||
directory of basic documentation files (README, AUTHORS, ChangeLog,...), i.e. they |
||||
will be installed in "share/doc/kile-${KILE_VERSION}/" instead of "share/doc/kile/". |
@ -0,0 +1,351 @@
|
||||
version 2.0 -> 2.0.1 |
||||
|
||||
Fixes: |
||||
- Do all section actions on the whole section (#154272) |
||||
- Fix possible crash due to unchecked index bounds |
||||
- Some i18n fixes (#153371) |
||||
- cwl files: fix wrong commands with \left and \right and make them more complete |
||||
- Typos in symbols (#158749) |
||||
- Sync kile project on disk before archiving |
||||
- Add figure* to the structure view also (#151743) |
||||
- Fix completion for multiple citations/references (#152766) |
||||
- Fix crash at template handling, reported and fixed by Vincenzo Di Massa |
||||
- Rename some cwl files so that they not only differ by case (#158600) |
||||
- Search also in $BIBINPUTS and $TEXINPUTS paths if opening files from the |
||||
structure view |
||||
- Add missing package definitions to some symbols from the misc-text pane |
||||
- Allow spaces in the name of images in the includegraphics dialog (#161101) |
||||
- Don't recompile forever if some file timestamps are in the future (#121956) |
||||
|
||||
Features: |
||||
- Add \newlength as a variation of newcommand |
||||
- Add url.cwl, svninfo.cwl, svn-multi.cwl, yfonts.cwl, virginialake.cwl |
||||
- Allow ":" and "-" in citation keys, important for codecompletion |
||||
|
||||
Syntax: |
||||
- Highlight & and @{} in tabular like environments |
||||
- Ignore Noweb blocks |
||||
|
||||
version 2.0beta2 -> 2.0 |
||||
|
||||
Fixes: |
||||
- Added some new logic to really disable all debug output if --disable-debug |
||||
is given to configure, should make kile faster |
||||
|
||||
Features: |
||||
- New documentation kile-remote-control.txt |
||||
- Added new DVItoPDF config Modern which calls dvipdfmx instead of dvipdfm, |
||||
set Modern as default |
||||
|
||||
version 2.0beta1 -> 2.0beta2 |
||||
|
||||
Fixes: |
||||
- Polishing Quickdocumentdialog |
||||
- More agressive recompiling |
||||
- Cwl fixes |
||||
- Mathsymbol commands were biased with one, some symbol cleanups (#148855) |
||||
- Don't make system check if the user has defined a master document (#148800) |
||||
- Don't offer eqnarray in the latex menu (but we still support it for math environment completion etc.) (#101583) |
||||
- Consider also files located in $TEXINPUTS and $BIBINPUTS paths for codecompletion. (#149652) |
||||
|
||||
Features: |
||||
- Call asymptote if needed on latex run |
||||
|
||||
version 1.9.3 -> 2.0beta1 |
||||
|
||||
Fixes: |
||||
- More than 50 bugs have been closed |
||||
- Symlinked files and directories in combination with inverse search |
||||
- Autosave fix: If a file is two autosave cycles not writable we will skip the file until it is writeable again. |
||||
- Fix starting directory for add Files. Take the project's basedir |
||||
- Fix bug in tabular wizard, when breaking some multicolumn cells |
||||
- Remove selected text in any case if the user insert " |
||||
- Fix bug where environments were completed which should not have been completed. |
||||
- Textcolor bug in tabular wizard |
||||
- Only use special quotes if we have a tex file |
||||
- Fix bug in lyxserver when the filesystem in the users home directory does not support FIFOS |
||||
- Use the $PATH variable to search for the tools |
||||
- Remove our own "not perfectly" working spellchecker implementation, now the katepart spellchecker is always in charge |
||||
- Call "Refresh Strcuture" after changing the encoding |
||||
- Grep for \newenvironment and add them to the completion lists |
||||
- Smart newline now also recognizes comment lines |
||||
|
||||
Bigger Features: |
||||
- Add auto completion in abbreviation mode: |
||||
a) All abbreviations can be shown in the sidebar (configurable) |
||||
b) All abbreviations from a local abbreviations list 'kile-abbrevs.cwl' are |
||||
editable. This file can be found in the local application path of Kile. |
||||
c) Editable abbreviations are marked with a star. |
||||
d) It is possible to add new abbreviations or delete existing ones. |
||||
e) A new auto mode to expand abbreviations was added (configurable |
||||
of course). If an abbreviation is followed by a space or a punctuation |
||||
symbol, it is immediately expanded without further user commands. |
||||
- Added a set of commands to work directly with sectioning on the structure view: |
||||
copy, cut, paste, select, delete, comment, quick preview |
||||
- New Symbolview which contains: |
||||
- Most frequently used symbol list |
||||
- Complete revamped symbol list with more items (nearly 1000) and more |
||||
categories |
||||
- Show command and depending packages in the tooltip |
||||
- Send a warning in the logwidget if a package is not included |
||||
- By pressing CTRL and SHIFT while inserting an item one gets {} or $$ |
||||
around the inserted command |
||||
- Added a scripting interface to kile |
||||
- A big bunch of new cwl files, mostly from kile users , so kile has now more |
||||
than 80 :) |
||||
- Add support for TexLive 2005/2007 |
||||
- Preview of mathgroups from Mathias Soeken (with some additions and |
||||
extensions by Holger Danielsson) |
||||
|
||||
Smaller Features: |
||||
- New tool entries for: |
||||
- Asymptote |
||||
- PDFLaTeX draftmode (available in PDFTeX from TeXLive 2007) |
||||
- Bibtex 8bit Version |
||||
- Added Lilypond tool (4 variants), icon will follow |
||||
- Renamed LaTeXtoDocBook to DBLaTeX , use |
||||
programm dblatex for that and also introduced 4 variants of it. |
||||
- Renamed LaTeXtoHTML to LaTeX to Web and added tex4ht variants (to XML, to HTML |
||||
and to MathML), but keeping the latex2html tool also |
||||
- Added a variant of quickbuild , do only LaTeX |
||||
- Added DVItoPDF variant, Landscape and "Black and White" |
||||
- Moved Archive tool from type none to Archive and also added much more |
||||
configs, now users can also alter them |
||||
- Changed default bibtex viewer for new kile users to kbibtex |
||||
- added gbib, jabref, kbib to bibtexviewers |
||||
- Recursive parsing of footnote command |
||||
- New citeViewBib action, which asks the bibtex viewer (currently only |
||||
kbib) to send marked references. Thanks to Thach Nguyen for the |
||||
initial patch |
||||
- New function "Save Copy as..." |
||||
- Revamped the new-file dialog. |
||||
- Add support for templates types other than LaTeX. |
||||
- Use the extension ".kileicon" for template icon files. |
||||
- Added lyx:paste command in kile's lyxserver |
||||
- Add Readme, Readme.cwl and Building-with-cmake.txt |
||||
- Show todo/fixme tasks in structure view |
||||
- Enhance completion configuration dialog usability and support local directories for completion files |
||||
- Merge labels and sections in document structure view as user configurable option |
||||
- First preliminary support for the beamer package |
||||
- Select a single LaTeX command with CTRL+MouseDblClick-left |
||||
- Autocomplete $ to $$ |
||||
- Move cursor out of braces after selecting from a keylist |
||||
- Make include commands configurable through our nice latexcommand menu |
||||
- Assign the keyboard focus to the active text view after Kile has started up |
||||
- FindInFiles dialog can be moved into the background |
||||
- Add additional double quotes for babel supported languages (czech, icelandic) |
||||
- Highlighting of Section Titles as bold |
||||
- Add emacs-like delete-to-end-of-line command |
||||
- Removed metapost view in the sidebar, the commands can be accessed via |
||||
kile's dictionary mode |
||||
- Sort items in references list box |
||||
- Some new toolbar icons |
||||
- Added more optional fields in the predefined bibtex entries, patch from |
||||
Martin Weis <martin.weis.newsadress (a) gmx.de> |
||||
- Added CMake build support. |
||||
- Add scripting support. |
||||
- We always remember now the current most top item of the structure view and restore it after an update. |
||||
- Add new actions gotoNextSection() and gotoPrevSection() |
||||
- Quote replacement should not happen inside verbatim/verb environment |
||||
- Add new actions gotoNextParagraph() and gotoPrevParagraph() |
||||
- Fix rebuild structureview if changing the expansion level |
||||
- Add mathgroup preview to the popup menu (right mouse button), where either a selection or a mathgroup is shown |
||||
- More tools in kile's system check |
||||
- Add drag-and-drop functionality |
||||
- Remember MakeIndex checkbox settings in kileprojectdlg |
||||
- Add autoref command to std. ref. commands |
||||
|
||||
version 1.9.2-> 1.9.3 |
||||
Fixes: |
||||
- Recognize escaped chars in \newcommand. (#132899) |
||||
- Use KPDF as embedded viewer for quick preview, because KPDF can remember current settings. (#129177) |
||||
- Bugs in tabular wizard, when merging, breaking and merging again some cells |
||||
- Quote replacement should not happen inside verbatim/verb environment (#133112) |
||||
- Fix bug in tabular wizard, when breaking some multicolumn cells |
||||
- Don't use default permissions for backup file (CVE CAN-2005-1920 also applies to kile) |
||||
- Fix bug in syntax highlighting: mathmode in optional parameter (#134146) |
||||
- Allow tools with brackets in the configuration string also in sequence tools, fixed also the crash which hid the bug. (#134605) |
||||
- One fix in latex-document-cwl and color.cwl |
||||
- Fix crash when adding a file to a project (with no open documents) which contains an undefined reference (#135575) |
||||
- Improve the logic for closing environments (#134793) |
||||
- Don't treat \\[foo] as a math environment (#137131) |
||||
- Remove selected text also if we insert a " (#137272) |
||||
|
||||
Feature: |
||||
- Prepared the latex syntax file for beamer commands |
||||
|
||||
version 1.9.1 -> 1.9.2 |
||||
Fixes: |
||||
- Add autoref command to standard reference commands (#130037) |
||||
- Remember the setting of MakeIndexOptions checkbox in the project settings |
||||
dialog. (debian #337550) |
||||
- Added utf-8 and other encodings to the quickdocument dialog. (#131402) |
||||
- Make the "New Tool" dialog box big enough. (#132425) |
||||
- Check if masterdocs in kilepr files exist, should fix some problems with upgrades from kile 1.8. |
||||
- Searching for environments in Edit functions improved. |
||||
- Take array as math environment instead of tabular in Configure->Latex Environments. |
||||
- Don't crash if a user changes the icon of a toolbar item. (debian #382317) |
||||
- Allow a few more punctuation in codecompletion of citation keys. (#130148) |
||||
- Remember last working directory in 'find in files' dialog. (debian #359932) |
||||
- Tabular wizard should insert all entered elements. (#132736) |
||||
- Only autosave files which have been modified. |
||||
- Delete comma of last bibtex entry if Bibliographie->Clean is called. (#129499) |
||||
- Quick Preview fails if graphics are included in selection (#126019) |
||||
|
||||
version 1.9.0 -> 1.9.1 |
||||
Fixes: |
||||
- Restore support for KDE 3.2.x. |
||||
- tex files starting with numbers can now also used for "Forward DVI". (#124613) |
||||
- now we respect the default project location set by the user also in projectOpen(). (#124099) |
||||
- don't restore the line position if the file is already open. (#125175) |
||||
- honor users who want to cancel the close request to embedded parts. (namely kbibtex) |
||||
- fix ViewBib, if we support $BIBINPUTS for compilation we should also do it for viewing. We now also check in all paths in BIBINPUTS for an bib file. (#125133) |
||||
- if "show labels" is disabled in structureview, we should nevertheless gather them for codecompl. and undefined ref. |
||||
- don't fake pressed buttons, now the log message button does not looked pressed when you start kile. (#124098) |
||||
- only add an trailing slash to the default project location if we need one. |
||||
- hide the latex menu when we don't have docs open. |
||||
- don't see unstarred env. as closing for starred. (#120509) |
||||
- we are now much more carefully if the autosaving has succeded. We now warn if we can't autosave and don't overwrite backups with empty backups. (#125975) |
||||
- only use special double quotes if no slash is in front of the cursor. (#127813) |
||||
|
||||
Features: |
||||
- Add the possibility to use bullets in user tags via a new placeholder %B. |
||||
- Colour bullets so that they can be spotted easily. |
||||
- new cwl file for the textcomp and import package. |
||||
- we now highlight TODO, FIXME in comments. (only if they are not in normal text) |
||||
- added Readme.MacOSX |
||||
|
||||
[...] |
||||
|
||||
version 1.6.3 -> 1.7a3 |
||||
major: |
||||
- smart LaTeX: rerun automatically when needed, runs BibTeX and/or MakeIndex if required |
||||
- a more flexible and powerful tool system |
||||
- automatic completion of LaTeX commands |
||||
- access to teTeX help system |
||||
- system configuration checker (Settings->System Check), detects installation errors, missing apps and wrong Kile settings |
||||
|
||||
minor: |
||||
- BibTeX files are now parsed as well, references in a BibTeX file can be used in \cite autocompletion now as well |
||||
- user defined commands (using \newcommand) are added to the autocompletion list |
||||
- improved structure view, remembers its state, it doesn't collapse anymore after a save |
||||
- find in files dialog |
||||
- several LaTeX specific editing options (close environment for example) |
||||
- convert accented letters (like Ë) to ASCII TeX commands (like \"E) and vice versa |
||||
- new side and bottom bars |
||||
|
||||
version 1.6.2 -> 1.6.3 |
||||
- fix a crash when opening/closing projects with common files |
||||
- warn if user tries to overwrite an existing file in the "New Project" dialog |
||||
- make usertags/tools shortcuts configurable |
||||
- place cursor after a bracket when inserting a usertag |
||||
- polished up the "New File" wizard, the size and selected template are now remembered, an option to start the Quick Start wizard after selecting an empty template is also added |
||||
- double clicking on a non-existent file results in a dialog requesting the creating of this file, instead of just an error |
||||
|
||||
version 1.6.1 -> 1.6.2 |
||||
- bugfixes |
||||
|
||||
version 1.6 ->1.6.1 |
||||
- bugfixes |
||||
|
||||
version 1.5.2 -> 1.6 |
||||
major: |
||||
- new editor (katepart) |
||||
- project management |
||||
minor: |
||||
- auto-complete environments |
||||
- statistics dialog for document (word count) |
||||
- can open multiple files in one go (using the open file dialog or the sidebar) |
||||
- launch you favorite BibTeX editor using the bilbiographies found in your document |
||||
- interaction with gBib and pyBliographer |
||||
- restore files and projects on start up (optional) |
||||
- checking whether or not the document is a LaTeX root before compile is optional now |
||||
- structure view: jump to line AND column, allow multiple labels on one line, allow space between \struct and { }, don't parse |
||||
structure elemented that are out-commented |
||||
- configurable shortcuts to focus log/messages, output, konsole, editor views (resp. ctrl+alt+m,o,k,e) |
||||
- more advanced \includegraphics dialog (thx Michael Margraf) |
||||
- check for modified on disc |
||||
- highligthing inside math environments |
||||
- allow user to set PS-PDF, DVI-PS, PDF-PS, BibTeX, makeindex commands |
||||
|
||||
version 1.5 -> 1.5.2 : |
||||
- prompt user when trying to run LaTeX on a document which isn't a document root |
||||
- better syntax highlighting (deals with \verb and verbatim environment) |
||||
- summary of compilation results after running LaTeX |
||||
- improved "clicking on errors in the log file jumps to corresponding line" |
||||
- user can define an arbitrary number of user tools/tags. |
||||
- autosave |
||||
- added an Output view, the Output view is the location for the raw |
||||
output of the shell processes (latex,dvips, etc.) |
||||
- more error messages/warnings when the user tries to do compile/view |
||||
non-existing/untitled documents |
||||
- added templates support (user can select a template when creating a new |
||||
file, user can create templates from existing documents). |
||||
- added a stop button, (La)TeX can now be stopped while compiling |
||||
- added a Toolbars submenu, toolbars can be hidden now |
||||
- output of compilations remains visible, log file can be shown |
||||
on request |
||||
- inverse search now also works for documents whos name starts with a number |
||||
- more flexible command syntax, instead of having latex and pdflatex as |
||||
commands, one can use |
||||
latex %S.tex or make %S.dvi |
||||
now |
||||
|
||||
version 1.4 -> 1.5 : |
||||
- added metapost support |
||||
- added "user commands" menu |
||||
- added ability to change or add gnuplot commands before plotting with the Gnuplot frontend |
||||
- fixed the bug for files with accents in the Kite file selector |
||||
- added the ability to show the line numbers and to choose the colors for the editor |
||||
|
||||
version 1.32 -> 1.4 : |
||||
- added dvi and postcript embedded viewers (based on kdvi and kghostview kparts) |
||||
- spell checking is now possible for the selected paragraphs and not only for all the document |
||||
- overwrite an existing file must now be confirmed |
||||
- the bug about the "report" document class in the "quick document dialog" has been fixed |
||||
|
||||
version 1.31 -> 1.32 : |
||||
- the user can set the encoding character of the file with a combo box included in the Kite file selector. |
||||
- two color schemes are available for the editor (Black on White/White on Black) |
||||
- improved the "Multiple Function" dialog of the "Gnuplot frontend" |
||||
|
||||
version 1.3 -> 1.31 : |
||||
- new dialog box for the "ref" and "pageref" tags (the user can select one of the existing labels) |
||||
- the "--unique" option is now used for the "Kdvi Forward Search" command |
||||
- the bug about the "report" class in the "Quick Start" wizard has been fixed |
||||
- the GnuPlot front end code has been cleaned (only QString are used instead of string) |
||||
|
||||
version 1.3beta -> 1.3 : |
||||
- fixed some minor bugs |
||||
- new user manual |
||||
- added more options for the "Quick Start" wizard |
||||
|
||||
version 1.2 -> 1.3beta : |
||||
- the "label" tags written on the same line than a "section" tag are now detected |
||||
- added a "find next" command |
||||
- improved the "replace" command |
||||
- improved the "edit user menu" command (ability to insert several lines) |
||||
- added more options for the "quick start", "tabular" and "array" wizards |
||||
- added new LaTeX tags (maketitle, footnote, tableofcontents, ref, pageref) |
||||
- added DCOP support (no new instance when kile is already running - Kdvi "inverse search" should work better) |
||||
|
||||
version 1.1 -> 1.2 : |
||||
- new panel (file selector, structure view, mathematical symbols and the greek letters) |
||||
- no more embedded viewers |
||||
- classical order for the "recent files" list |
||||
- added shortcuts for the "item" tag and icons for the "enumerate" and "itemize" environments |
||||
- added info about the size of the .eps file while using \includegraphics{} |
||||
- the Konsole is now synchronized with the current document |
||||
- added ability to remove the optional fields of a .bib file. ("Clean" command) |
||||
- added "watch file" mode for the "quick build" command (the viewers are not launched) |
||||
|
||||
version 1.0 -> 1.1 : |
||||
- added toolbars configuration |
||||
- added new modes for the 'Quick build' command |
||||
- user can now print the ps/pdf file directly with kite |
||||
- added a wizard for the 'Tabbing' environment |
||||
- by typing %myenvironment in the 'LaTeX content' field of an 'user menu', Kite inserts directly this code : |
||||
\begin{myenvironment} |
||||
|
||||
\end{myenvironment} |
||||
- fixed some minor bugs |
@ -0,0 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.5
|
||||
|
||||
include admin/deps.am |
||||
include admin/Doxyfile.am |
||||
SUBDIRS=$(TOPSUBDIRS)
|
@ -0,0 +1,4 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.5
|
||||
|
||||
include admin/deps.am |
||||
include admin/Doxyfile.am |
@ -0,0 +1,54 @@
|
||||
Dear User/Packager, |
||||
|
||||
this Readme is targeted towards people who want to build Kile from source or plan to create binary packages. |
||||
If you have created a package, please drop us a note ( kile-devel@lists.sourceforge.net ) so that we can promote your package. |
||||
All specified versions are minimum versions except for KDE and QT. |
||||
|
||||
1.) Checking dependencies |
||||
|
||||
- kdelibs 3.2 - 3.5 and according QT development packages |
||||
- autoconf 2.53, automake and make (alternatively cmake 2.4.4, see also Building-with-cmake.txt) |
||||
- gcc 3.x/4.x |
||||
|
||||
2.) Building Kile from source |
||||
|
||||
- Extract the source code with `tar xjf kile-2.0.x.tar.bz2` |
||||
- `cd kile-2.0.x` |
||||
- ./configure --prefix=path_to_KDE3 (/usr or /opt/kde3 generally) --with-qt-dir=path_to_QT3 library (/usr/lib/qt3 generally) |
||||
-- If you don't know what the path to KDE3 on your system is, you can use output of `kde-config --prefix`. |
||||
-- Or you can choose `--prefix=$HOME/.kde` to not mess up with your distribution's package management system. |
||||
- Type `make` to compile the package. |
||||
- Type `make install` to install the programs, data files and documentation. |
||||
- Type `kile` and enjoy the power of LaTeX together with the joy of using Kile :) |
||||
|
||||
3.) Using Kile |
||||
|
||||
To use Kile you (obviously) need some external programs. |
||||
The following list is divided into basic, advanced and additional usage. |
||||
|
||||
Basic: |
||||
|
||||
- TeTeX 2.0/3.0 or TeXLive 2005/2007 (Including "AMS"-Packages and the documentation) |
||||
- KDVI |
||||
|
||||
Advanced: |
||||
|
||||
- KPDF, KGhostView (Viewing PS and PDF) |
||||
- Acroread (Viewing PDF) |
||||
- Imagemagick, DVIPNG 1.7 (Bottom bar preview) |
||||
|
||||
By default there are also tools for the following programs defined: |
||||
|
||||
- Tar/zip/gzip/bzip2 (Archive) |
||||
- DBlatex (Docbook to LaTeX) |
||||
- Metapost and Asymptote |
||||
- Latex2html (LaTeX to Web) |
||||
- Tex4ht (LaTeX to Web) |
||||
- Lilypond (Music Typesetting) |
||||
- Konqueror/Mozilla/Firefox (Viewing HTML) |
||||
- Kbibtex, KBib, JabRef, pybliographer, gbib (View Bibtex files) |
||||
|
||||
If you have any questions or corrections, please don't hesitate to contact us via kile-devel@lists.sourceforge.net. |
||||
|
||||
The Kile dev team |
||||
|
@ -0,0 +1,49 @@
|
||||
In order to install Kile on MacOS X, you need the following things: |
||||
- a working X11 installation |
||||
- a working LaTeX distribution |
||||
- the KDE libraries |
||||
- and Kile itself, of course |
||||
|
||||
Once everything is in place, Kile needs X11 to run, so make sure you launch X11 before Kile. |
||||
|
||||
|
||||
Installing X11 |
||||
-------------- |
||||
|
||||
Apple provides its own X11 installation for MacOS X 10.3 (downloadable from Apple's web site) and 10.4 (available directly on the Tiger DVD). If you install by hand, make sure to install the X11User.pkg package. |
||||
|
||||
Apple's documentation on X11: http://developer.apple.com/opensource/tools/X11.html |
||||
|
||||
You should install Apple's X11. But if you have a good reason not to, Fink (see below) provides the latest X.org distribution. Refer to Fink documentation for details. MAKE SURE YOU NEVER MIX TWO X11 VERSIONS ON THE SAME SYSTEM. |
||||
|
||||
|
||||
Installing all the rest through Fink |
||||
------------------------------------ |
||||
|
||||
Fink is the packaging system from Debian ported to MacOS X. Installing Fink itself is very straightforward, so only two things will be mentioned here: |
||||
- you must download and install the latest Xcode version from Apple (free download, just requires registration), |
||||
- make sure Fink uses the package repository compatible with your system (specifically, if you have MacOS X 10.4, use the 10.4 branch and *not* the 10.4-transitional branch). |
||||
|
||||
Fink lets you choose between precompiled, ready-to-use, packages, and compiling them yourself. Practically speaking, the Fink project provides few up-to-date precompiled packages, so compilation is often necessary. But don't worry, the procedure is automatic in any case. |
||||
|
||||
After that, installing the rest is very straightforward: |
||||
|
||||
- LaTeX distribution: install packages "tetex" and "tetex-base". |
||||
- KDE libraries: the bare minimum would be package "kdebase3-unified", but you should also install packages like "kpdf", "kdvi" and "kghostview" to make best use of Kile. Installing a localisation package to have dialogs in your language would also be nice ; for example, the French package is called "kde-i18n-french". |
||||
- Kile: its package is called "kile". |
||||
- Other useful packages, depending on your habits: "bibview", "gnuplot", "xfig", "beamer", "texpower"... Just go shopping with Fink. |
||||
|
||||
Have fun! |
||||
|
||||
Fink project: http://fink.sourceforge.net |
||||
|
||||
|
||||
Other installation methods |
||||
-------------------------- |
||||
|
||||
There is no easy way, other than Fink, to install the KDE libraries and Kile. But if you want, there is another popular way to install LaTeX: the i-Installer. |
||||
|
||||
i-Installer web site: http://ii2.sourceforge.net |
||||
|
||||
|
||||
[This Readme was contributed by Thibaut Cousin (cousin@kde.org)] |
@ -0,0 +1,66 @@
|
||||
CWL File Specification 0.1: |
||||
|
||||
Completion modes: |
||||
Kile supports three completion modes, which use their own cwl files: |
||||
- (La)TeX mode |
||||
- Dictionary mode |
||||
- Abbreviation mode |
||||
|
||||
Call of completion: |
||||
When completion is called with a shortcut or in auto mode, Kile must separate words, so that some restriction had to be made about the already typed prefix. If the prefix is to be analyzed as valid, the completion box will open, otherwise not. |
||||
- (La)TeX mode: all prefixes must start with a backslash, followed by letters, possibly with a trailing star |
||||
- Dictionary mode: letters, digits and underscore are valid characters |
||||
- Abbreviation mode: letters, digits and underscore are valid characters |
||||
Once the completion box is opened, there are no further restrictions. All characters are valid from this moment on. |
||||
|
||||
Naming scheme of the cwl file: |
||||
- If the commands in the file belong to a class the name is class-foo.cwl, if they belong to different classes the name is class-foo,bar.cwl. |
||||
- In any other case it belongs to a package and should therefore have the same name than the package (package foo -> foo.cwl) |
||||
|
||||
File syntax: |
||||
- There are only two types of content, comments and text. |
||||
- Comments start with a #, everything after # is ignored till the end of the line. |
||||
- Everything else is text. |
||||
|
||||
File content: |
||||
- The files should have a small header including your name (email address is not needed), the date, and a link where the package or the class file can be downloaded. |
||||
For example the header of textcomp.cwl: |
||||
# textcomp package |
||||
# tbraun 04/27/2006 |
||||
# URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/textcomp.html |
||||
- All commands given must have a description what to insert in the empty brackets: |
||||
-- \label{key} and not \label{} |
||||
-- \includegraphics[options]{name} |
||||
-- \footnotetext[number]{text} and so on |
||||
- All commands means all commands. So please add all possible combinations, including mandatory options and all optional options in all possible combinations. |
||||
This list can be quite long but all users will appreciate the completeness. |
||||
For example (taken from class-beamer.cwl): |
||||
\begin{frame} |
||||
\begin{frame}<overlay specification> |
||||
\begin{frame}<overlay specification>[<default overlay specification>] |
||||
\begin{frame}<overlay specification>[<default overlay specification>][options] |
||||
\begin{frame}<overlay specification>[<default overlay specification>][options]{title} |
||||
\begin{frame}<overlay specification>[<default overlay specification>][options]{title}{subtitle} |
||||
\begin{frame}[<default overlay specification>] |
||||
\begin{frame}[<default overlay specification>][options] |
||||
\begin{frame}[<default overlay specification>][options]{title} |
||||
\begin{frame}[<default overlay specification>][options]{title}{subtitle} |
||||
\begin{frame}[<default overlay specification>][options]{title}{subtitle} |
||||
\begin{frame}[options] |
||||
\begin{frame}[options]{title} |
||||
\begin{frame}[options]{title}{subtitle} |
||||
\begin{frame}[options]{title}{subtitle} |
||||
\begin{frame}{title} |
||||
\begin{frame}{subtitle} |
||||
\end{frame} |
||||
- Only include the \end{env} command once, but all combinations with \begin{env}{}[]<>... |
||||
- If you declare an environment in which the \item command is valid you have to suffix the \begin{...} declaration with \item, like in latex-document.cwl \begin{itemize}\item. |
||||
- A starred version of a command must also be added |
||||
\circle{diameter} |
||||
\circle*{diameter} |
||||
|
||||
Getting assistance: |
||||
- You can see some examples at http://websvn.kde.org/trunk/extragear/office/kile/kile/complete/tex |
||||
- If in doubt don't hesitate to mail to kile-devel@lists.sourceforge.net and ask, we will be glad to help you :) |
||||
|
||||
The Kile development team |
@ -0,0 +1,22 @@
|
||||
TODO |
||||
- allow users to set a preferred shell |
||||
|
||||
- improving template support |
||||
|
||||
- create a plain text importer (one that would convert % to \%, $ to \$ etc.) |
||||
|
||||
- create a fast powerful (La)TeX parser |
||||
|
||||
- recursive sectioning: also parse sections that were inserted with |
||||
\input or \include (optional) |
||||
|
||||
- file_selector could use a configurable filter. Now only *.tex files are |
||||
shown, some people might use a .ltx extension for their LaTeX files (or |
||||
something completely different). |
||||
|
||||
- #142987 project load crash |
||||
|
||||
- strange ref error see http://sourceforge.net/forum/forum.php?thread_id=1746112&forum_id=292014 and BTS |
||||
|
||||
docu: |
||||
- explain tool stuff and the magic %... abbreviations |
@ -0,0 +1,910 @@
|
||||
# generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
||||
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
# This program is distributed in the hope that it will be useful, |
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
||||
# PARTICULAR PURPOSE. |
||||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION], |
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
||||
m4_if(AC_AUTOCONF_VERSION, [2.61],, |
||||
[m4_warning([this file was generated for autoconf 2.61. |
||||
You have another version of autoconf. It may work, but is not guaranteed to. |
||||
If you have problems, you may need to regenerate the build system entirely. |
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
||||
|
||||
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. |
||||
# |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION) |
||||
# ---------------------------- |
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
||||
# generated from the m4 files accompanying Automake X.Y. |
||||
# (This private macro should not be called outside this file.) |
||||
AC_DEFUN([AM_AUTOMAKE_VERSION], |
||||
[am__api_version='1.10' |
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
||||
dnl require some minimum version. Point them to the right macro. |
||||
m4_if([$1], [1.10.1], [], |
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
||||
]) |
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION) |
||||
# ----------------------------- |
||||
# aclocal traces this macro to find the Autoconf version. |
||||
# This is a private macro too. Using m4_define simplifies |
||||
# the logic in aclocal, which can simply ignore this definition. |
||||
m4_define([_AM_AUTOCONF_VERSION], []) |
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION |
||||
# ------------------------------- |
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
||||
[AM_AUTOMAKE_VERSION([1.10.1])dnl |
||||
m4_ifndef([AC_AUTOCONF_VERSION], |
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
||||
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) |
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
||||
# |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
||||
# |
||||
# Of course, Automake must honor this variable whenever it calls a |
||||
# tool from the auxiliary directory. The problem is that $srcdir (and |
||||
# therefore $ac_aux_dir as well) can be either absolute or relative, |
||||
# depending on how configure is run. This is pretty annoying, since |
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
||||
# source directory, any form will work fine, but in subdirectories a |
||||
# relative path needs to be adjusted first. |
||||
# |
||||
# $ac_aux_dir/missing |
||||
# fails when called from a subdirectory if $ac_aux_dir is relative |
||||
# $top_srcdir/$ac_aux_dir/missing |
||||
# fails if $ac_aux_dir is absolute, |
||||
# fails when called from a subdirectory in a VPATH build with |
||||
# a relative $ac_aux_dir |
||||
# |
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
||||
# are both prefixed by $srcdir. In an in-source build this is usually |
||||
# harmless because $srcdir is `.', but things will broke when you |
||||
# start a VPATH build or use an absolute $srcdir. |
||||
# |
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
||||
# and then we would define $MISSING as |
||||
# MISSING="\${SHELL} $am_aux_dir/missing" |
||||
# This will work as long as MISSING is not called from configure, because |
||||
# unfortunately $(top_srcdir) has no meaning in configure. |
||||
# However there are other variables, like CC, which are often used in |
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir. |
||||
# |
||||
# Another solution, used here, is to always expand $ac_aux_dir to an |
||||
# absolute PATH. The drawback is that using absolute paths prevent a |
||||
# configured tree to be moved without reconfiguration. |
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND], |
||||
[dnl Rely on autoconf to set up CDPATH properly. |
||||
AC_PREREQ([2.50])dnl |
||||
# expand $ac_aux_dir to an absolute path |
||||
am_aux_dir=`cd $ac_aux_dir && pwd` |
||||
]) |
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 |
||||
# Free Software Foundation, Inc. |
||||
# |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
# serial 8 |
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
||||
# ------------------------------------- |
||||
# Define a conditional. |
||||
AC_DEFUN([AM_CONDITIONAL], |
||||
[AC_PREREQ(2.52)dnl |
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
||||
AC_SUBST([$1_TRUE])dnl |
||||
AC_SUBST([$1_FALSE])dnl |
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
||||
if $2; then |
||||
$1_TRUE= |
||||
$1_FALSE='#' |
||||
else |
||||
$1_TRUE='#' |
||||
$1_FALSE= |
||||
fi |
||||
AC_CONFIG_COMMANDS_PRE( |
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
||||
AC_MSG_ERROR([[conditional "$1" was never defined. |
||||
Usually this means the macro was only invoked conditionally.]]) |
||||
fi])]) |
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
||||
# Free Software Foundation, Inc. |
||||
# |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
# serial 9 |
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
||||
# written in clear, in which case automake, when reading aclocal.m4, |
||||
# will think it sees a *use*, and therefore will trigger all it's |
||||
# C support machinery. Also note that it means that autoscan, seeing |
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME) |
||||
# ---------------------- |
||||
# See how the compiler implements dependency checking. |
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC". |
||||
# We try a few techniques and use that to set a single cache variable. |
||||
# |
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
||||
# dependency, and given that the user is not expected to run this macro, |
||||
# just rely on AC_PROG_CC. |
||||
AC_DEFUN([_AM_DEPENDENCIES], |
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl |
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
||||
AC_REQUIRE([AM_DEP_TRACK])dnl |
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=], |
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=], |
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
||||
[depcc="$$1" am_compiler_list=]) |
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc], |
||||
[am_cv_$1_dependencies_compiler_type], |
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
||||
# We make a subdir and do the tests there. Otherwise we can end up |
||||
# making bogus files that we don't know about and never remove. For |
||||
# instance it was reported that on HP-UX the gcc test will end up |
||||
# making a dummy file named `D' -- because `-MD' means `put the output |
||||
# in D'. |
||||
mkdir conftest.dir |
||||
# Copy depcomp to subdir because otherwise we won't find it if we're |
||||
# using a relative directory. |
||||
cp "$am_depcomp" conftest.dir |
||||
cd conftest.dir |
||||
# We will build objects and dependencies in a subdirectory because |
||||
# it helps to detect inapplicable dependency modes. For instance |
||||
# both Tru64's cc and ICC support -MD to output dependencies as a |
||||
# side effect of compilation, but ICC will put the dependencies in |
||||
# the current directory while Tru64 will put them in the object |
||||
# directory. |
||||
mkdir sub |
||||
|
||||
am_cv_$1_dependencies_compiler_type=none |
||||
if test "$am_compiler_list" = ""; then |
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
||||
fi |
||||
for depmode in $am_compiler_list; do |
||||
# Setup a source with many dependencies, because some compilers |
||||
# like to wrap large dependency lists on column 80 (with \), and |
||||
# we should not choose a depcomp mode which is confused by this. |
||||
# |
||||
# We need to recreate these files for each test, as the compiler may |
||||
# overwrite some of them when testing with obscure command lines. |
||||
# This happens at least with the AIX C compiler. |
||||
: > sub/conftest.c |
||||
for i in 1 2 3 4 5 6; do |
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
||||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
||||
# Solaris 8's {/usr,}/bin/sh. |
||||
touch sub/conftst$i.h |
||||
done |
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
||||
|
||||
case $depmode in |
||||
nosideeffect) |
||||
# after this tag, mechanisms are not by side-effect, so they'll |
||||
# only be used when explicitly requested |
||||
if test "x$enable_dependency_tracking" = xyes; then |
||||
continue |
||||
else |
||||
break |
||||
fi |
||||
;; |
||||
none) break ;; |
||||
esac |
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
||||
# mode. It turns out that the SunPro C++ compiler does not properly |
||||
# handle `-M -o', and we need to detect this. |
||||
if depmode=$depmode \ |
||||
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
||||
>/dev/null 2>conftest.err && |
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
||||
# icc doesn't choke on unknown options, it will just issue warnings |
||||
# or remarks (even with -Werror). So we grep stderr for any message |
||||
# that says an option was ignored or not supported. |
||||
# When given -MP, icc 7.0 and 7.1 complain thusly: |
||||
# icc: Command line warning: ignoring option '-M'; no argument required |
||||
# The diagnosis changed in icc 8.0: |
||||
# icc: Command line remark: option '-MP' not supported |
||||
if (grep 'ignoring option' conftest.err || |
||||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
||||
am_cv_$1_dependencies_compiler_type=$depmode |
||||
break |
||||
fi |
||||
fi |
||||
done |
||||
|
||||
cd .. |
||||
rm -rf conftest.dir |
||||
else |
||||
am_cv_$1_dependencies_compiler_type=none |
||||
fi |
||||
]) |
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
||||
AM_CONDITIONAL([am__fastdep$1], [ |
||||
test "x$enable_dependency_tracking" != xno \ |
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
||||
]) |
||||
|
||||
|
||||
# AM_SET_DEPDIR |
||||
# ------------- |
||||
# Choose a directory name for dependency files. |
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
||||
AC_DEFUN([AM_SET_DEPDIR], |
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
||||
]) |
||||
|
||||
|
||||
# AM_DEP_TRACK |
||||
# ------------ |
||||
AC_DEFUN([AM_DEP_TRACK], |
||||
[AC_ARG_ENABLE(dependency-tracking, |
||||
[ --disable-dependency-tracking speeds up one-time build |
||||
--enable-dependency-tracking do not reject slow dependency extractors]) |
||||
if test "x$enable_dependency_tracking" != xno; then |
||||
am_depcomp="$ac_aux_dir/depcomp" |
||||
AMDEPBACKSLASH='\' |
||||
fi |
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
||||
AC_SUBST([AMDEPBACKSLASH])dnl |
||||
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
||||
]) |
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
||||
# Free Software Foundation, Inc. |
||||
# |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
#serial 3 |
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS |
||||
# ------------------------------ |
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
||||
[for mf in $CONFIG_FILES; do |
||||
# Strip MF so we end up with the name of the file. |
||||
mf=`echo "$mf" | sed -e 's/:.*$//'` |
||||
# Check whether this is an Automake generated Makefile or not. |
||||
# We used to match only the files named `Makefile.in', but |
||||
# some people rename them; so instead we look at the file content. |
||||
# Grep'ing the first line is not enough: some people post-process |
||||
# each Makefile.in and add a new line on top of each file to say so. |
||||
# Grep'ing the whole file is not good either: AIX grep has a line |
||||
# limit of 2048, but all sed's we know have understand at least 4000. |
||||
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
||||
dirpart=`AS_DIRNAME("$mf")` |
||||
else |
||||
continue |
||||
fi |
||||
# Extract the definition of DEPDIR, am__include, and am__quote |
||||
# from the Makefile without running `make'. |
||||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
||||
test -z "$DEPDIR" && continue |
||||
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
||||
test -z "am__include" && continue |
||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
||||
# When using ansi2knr, U may be empty or an underscore; expand it |
||||
U=`sed -n 's/^U = //p' < "$mf"` |
||||
# Find all dependency output files, they are included files with |
||||
# $(DEPDIR) in their names. We invoke sed twice because it is the |
||||
# simplest approach to changing $(DEPDIR) to its actual value in the |
||||
# expansion. |
||||
for file in `sed -n " |
||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
||||
# Make sure the directory exists. |
||||
test -f "$dirpart/$file" && continue |
||||
fdir=`AS_DIRNAME(["$file"])` |
||||
AS_MKDIR_P([$dirpart/$fdir]) |
||||
# echo "creating $dirpart/$file" |
||||
echo '# dummy' > "$dirpart/$file" |
||||
done |
||||
done |
||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
||||
|
||||
|
||||
# AM_OUTPUT_DEPENDENCY_COMMANDS |
||||
# ----------------------------- |
||||
# This macro should only be invoked once -- use via AC_REQUIRE. |
||||
# |
||||
# This code is only required when automatic dependency tracking |
||||
# is enabled. FIXME. This creates each `.P' file that we will |
||||
# need in order to bootstrap the dependency handling code. |
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
||||
[AC_CONFIG_COMMANDS([depfiles], |
||||
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
||||
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
||||
]) |
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 |
||||
# Free Software Foundation, Inc. |
||||
# |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
# serial 8 |
||||
|
||||
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
||||
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*- |
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
||||
# 2005, 2006, 2008 Free Software Foundation, Inc. |
||||
# |
||||
# This file is free software; the Free Software Foundation |
||||
# gives unlimited permission to copy and/or distribute it, |
||||
# with or without modifications, as long as this notice is preserved. |
||||
|
||||
# serial 13 |
||||
|
||||
# This macro actually does too much. Some checks are only needed if |
||||
# your package does certain things. But this isn't really a big deal. |
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
||||
# AM_INIT_AUTOMAKE([OPTIONS]) |
||||
# ----------------------------------------------- |
||||
# The call with PACKAGE and VERSION arguments is the old style |
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE |
||||
# and VERSION should now be passed to AC_INIT and removed from |
||||
# the call to AM_INIT_AUTOMAKE. |
||||
# We support both call styles for the transition. After |
||||
# the next Automake release, Autoconf can make the AC_INIT |
||||
# arguments mandatory, and then we can depend on a new Autoconf |
||||
# release and drop the old call support. |
||||
AC_DEFUN([AM_INIT_AUTOMAKE], |
||||
[AC_PREREQ([2.60])dnl |
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow |
||||
dnl the ones we care about. |
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
||||