diff options
author | wl <wl> | 2005-07-31 07:53:15 +0000 |
---|---|---|
committer | wl <wl> | 2005-07-31 07:53:15 +0000 |
commit | 2e3ebdab4dfa59a9197ebad1f68258c32ec31af8 (patch) | |
tree | dbb4d5884883ffce365b3848851d2b1e0b7a9468 /contrib/groffer/Makefile.sub | |
parent | fd7727fee484107fa80bd71f3af592974774624c (diff) | |
download | groff-2e3ebdab4dfa59a9197ebad1f68258c32ec31af8.tar.gz |
________________________________________________________________
* release of groffer 0.9.20
### Split groffer.sh into two files groffer.sh and groffer2.sh.
* groffer.sh:
- Remove the second part of this script. It is now in
groffer2.sh.
- $_GROFFER2_SH: New variable to point to the installed position
of `groffer2.sh'. This position is presented using @libdir@.
* groffer2.sh: New script containing the second part of
groffer.sh. This script will be installed in the groffer library
directory @libdir@/groff/groffer, this might be
/usr/local/lib/groff/groffer/groffer2.sh for example.
* Makefile.sub:
- `groffer': Add replacement of @libdir@.
- `install_data': Add the installation of the groffer library
directory and groffer2.sh.
- `uninstall_sub': Delete the installed `groffer2.sh' and the
groffer library directory.
* README_SH:
- Remove the function list.
- Add argument options to the list of used commands.
- Documentation of the splitting of the script.
- Document the possible abbreviation of options.
Diffstat (limited to 'contrib/groffer/Makefile.sub')
-rw-r--r-- | contrib/groffer/Makefile.sub | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/contrib/groffer/Makefile.sub b/contrib/groffer/Makefile.sub index 9771a044..a546ea4f 100644 --- a/contrib/groffer/Makefile.sub +++ b/contrib/groffer/Makefile.sub @@ -5,9 +5,11 @@ # Last update: 30 June 2005 # Copyright (C) 2001,2002,2005 Free Software Foundation, Inc. -# Written by Werner Lemberg <wl@gnu.org> +# Written by Werner Lemberg <wl@gnu.org> and Bernd Warken. -# This file is part of groff. +# Last update: 30 July 2005 + +# This file is part of groffer which is part of groff. # groff is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -34,19 +36,25 @@ RM=rm -f all: groffer -groffer: groffer.sh $(SH_DEPS_SED_SCRIPT) +groffer: groffer.sh groffer2.sh $(SH_DEPS_SED_SCRIPT) $(RM) $@; \ sed -f $(SH_DEPS_SED_SCRIPT) \ -e "s|@g@|$(g)|g" \ -e "s|@BINDIR@|$(bindir)|g" \ + -e "s|@libdir@|$(libdir)|g" \ -e "s|@VERSION@|$(version)$(revision)|g" \ -e $(SH_SCRIPT_SED_CMD) $(srcdir)/groffer.sh >$@; \ chmod +x $@ install_data: groffer -test -d $(bindir) || $(mkinstalldirs) $(bindir) + -test -d $(libdir)/groff/groffer || \ + $(mkinstalldirs) $(libdir)/groff/groffer -$(RM) $(bindir)/groffer $(INSTALL_SCRIPT) groffer $(bindir)/groffer + $(INSTALL_SCRIPT) groffer2.sh $(libdir)/groff/groffer uninstall_sub: -$(RM) $(bindir)/groffer + -$(RM) $(libdir)/groff/groffer/groffer2.sh + -rmdir $(libdir)/groff/groffer |