lib/Automake/Rule.pm


Log

Author Commit Date CI Message
Alexandre Duret-Lutz ae6b80f3 2004-12-30T23:10:52 Support for `install-dvi', `install-html', `install-ps', and `install-pdf', as recently introduced into the GNU Coding Standard. * automake.in (handle_factored_dependencies): Reject uninstall-dvi-local, uninstall-html-local, uninstall-info-local, uninstall-ps-local, and uninstall-pdf-local. Allow install-info-local even when no-installinfo is not used. (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir. (%standard_prefix): Declare these new standard directory variables. * doc/automake.texi (Texinfo, Third-Party Makefiles): Document install-dvi, install-html, install-pdf, and install-ps. (Extending): Document install-local-dvi, install-local-html, install-local-info, install-local-pdf, and install-local-ps. * lib/Automake/Rule.pm (%dependencies): Add new install rules, and remove uninstall-info. * /cvs/automake/automake/lib/am/texinfos.am (install-dvi, install-dvi-am, install-dvi-recursive, install-html, install-html-am, install-html-recursive, install-pdf, install-pdf-am, install-pdf-recursive, install-ps, install-ps-am, install-ps-recursive, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am, uninstall-ps-am): New rules. (uninstall-info): Delete. * tests/txinfo21.test: Augment to check for these new rules. * tests/exdir2.test: Do not use `htmldir' as example of undefined directory. * tests/overrid.test: Do not be fooled by install-ps and install-html. * tests/txinfo10.test: Do not grep for uninstall-info-recursive.
Alexandre Duret-Lutz 4b354511 2004-12-27T20:38:22 Declare recursive install targets as dependencies of `.MAKE', so that `make -n install' works with BSD Make too.
Alexandre Duret-Lutz f69c59b8 2003-12-10T17:20:06 * lib/Automake/Rule.pm (define): Remove debugging traces. Report from Akim Demaille.
Alexandre Duret-Lutz 8e1c45e2 2003-11-17T21:13:00 * tests/suffix11.test: Check for suffixes containing `-'. * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in suffixes.
Alexandre Duret-Lutz 5167e179 2003-11-17T19:08:30 * lib/Automake/Rule.pm (define): Suggest using target-local instead of target-am, not target-am-local. * tests/overrid.test: Check the diagnostic for clean-am. Report from Bruno Haible.
Paul Eggert 636c8076 2003-09-06T05:36:57 Spelling and minor grammar fixes.
Raja R Harinath 206ac50a 2003-08-12T23:32:59 * lib/Automake/Condition.pm (strip): Replace loop with 'grep'. (not): Replace loop with 'map'. * lib/Automake/DisjConditions.pm (sub_conditions): Likewise. * lib/Automake/Item.pm (not_alwasy_defined_in_cond): Don't 'simplify' result of 'invert', since it's already in canonical form. * lib/Automake/Rule.pm (define): Replace loop with 'not_always_defined_in_cond'.
Raja R Harinath c5548fdc 2003-08-12T22:33:44 typos in comments
Alexandre Duret-Lutz 9a792314 2003-08-12T17:52:09 * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files. * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files. * lib/Automake/Makefile.am (dist_perllib_DATA): Add them. * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef. (new): Adjust to call Automake::ItemDef::new. (comment, location, owner): Delete. Now inherited from ItemDef. * lib/Automake/Variable.pm: Make this a subclass of Automake::Item. (_new): Adjust to call Automake::Item::new. (name, def, rdef, _set, conditions, not_always_defined_in_cond): Delete. How inherited from Item, where `_set' is called `set'. * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule. (suffix_rules_default): Delete. Now Automake::Rule::_suffix_rules_default (suffixes): Delete. Now Automake::Rule::suffixes. (TARGET_AUTOMAKE, TARGET_USER): Delete. Now Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER. (%targets, %target_source, %target_name, %target_owner): Delete, replaced by the Rule and RuleDef classes. (dependencies, depend, actions): Delete. Now in Automake::Rule. (suffix_rules, register_suffix_rule): Likewise. (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise. (known_extensions_list): Delete. Now Automake::Rule::_known_extensions_list. (target_conditions): Delete. Now inherited by Automake::Rule from Automake::Item::conditions. (rule_define): Delete. Now Automake::Rule::define. Adjust all callers. (target_defined): Delete. Now Automake::Rule::rule. Adjust all callers. (initialize_per_input): Adjust to call Automake::Rule::reset. (err_target, err_cond_target, msg_cond_target, msg_target, reject_target): Delete. Now defined in Automake::Rule as err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target. Adjust all callers. (handle_languages): Call suffix_rules_count. * tests/location.test: Adjust expected diagnostics. We now display $(EXEEXT) accurately.