diff options
author | wl <wl> | 2006-12-31 17:34:32 +0000 |
---|---|---|
committer | wl <wl> | 2006-12-31 17:34:32 +0000 |
commit | e3332cbb694925eb52771af5b3b34dd3230e474d (patch) | |
tree | 717dfb38b0c5070dfb07c8b970aee11742e12f7d /Makefile.comm | |
parent | db2f78079b24f8eb875af8d1b09d21f9bf46b4d1 (diff) | |
download | groff-e3332cbb694925eb52771af5b3b34dd3230e474d.tar.gz |
* Makefile.in (oldfontdir): New variable.
(MDEFINES): Add $(oldfontdir).
(uninstall_dirs): Remove `current' link.
Remove $(oldfontdir).
* Makefile.comm (oldfontsubdir): New variable.
(install_dev): Install files collected in $(OLDDEVFILES) into
$(oldfontsubdir).
(uninstall_dev): Remove data in $(oldfontsubdir).
(.man.n): Handle @OLDFONTDIR@.
* src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
Document GROFF_FONT_PATH.
* src/devices/grops/grops.man: Document GROFF_FONT_PATH and
old font description files.
* font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
variables.
* font/devps/old/*: New directory, holding the previous version
of the 35 Adobe core font description files.
* font/devps/*: Regenerated the 35 Adobe core fonts, using the
Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
* NEWS: Document font update.
Diffstat (limited to 'Makefile.comm')
-rw-r--r-- | Makefile.comm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.comm b/Makefile.comm index c19cacd6..1fe124af 100644 --- a/Makefile.comm +++ b/Makefile.comm @@ -51,6 +51,7 @@ HDRS= MANPAGES=$(MAN1) $(MAN5) $(MAN7) MANCLEAN=$(MANPAGES) fontsubdir=$(fontdir)/dev$(DEV) +oldfontsubdir=$(oldfontdir)/dev$(DEV) all do_install install_bin install_data TAGS depend distfiles uninstall_sub: @@ -139,6 +140,7 @@ extraclean: distclean -e "s|@FONTDIR@|$(fontdir)|g" \ -e "s|@LOCALFONTDIR@|$(localfontdir)|g" \ -e "s|@LEGACYFONTDIR@|$(legacyfontdir)|g" \ + -e "s|@OLDFONTDIR@|$(oldfontdir)|g" \ -e "s|@MACRODIR@|$(tmacdir)|g" \ -e "s|@DATASUBDIR@|$(datasubdir)|g" \ -e "s|@SYSTEMMACRODIR@|$(systemtmacdir)|g" \ @@ -242,6 +244,12 @@ install_dev: test -d $(DESTDIR)$(fontsubdir)/generate \ || $(mkinstalldirs) $(DESTDIR)$(fontsubdir)/generate; \ fi + -if test -d $(srcdir)/old; then \ + test -d $(DESTDIR)$(oldfontdir) \ + || $(mkinstalldirs) $(DESTDIR)$(oldfontdir); \ + test -d $(DESTDIR)$(oldfontsubdir) \ + || $(mkinstalldirs) $(DESTDIR)$(oldfontsubdir); \ + fi -test -z "$(DEVFILES)" \ || for f in ""$(DEVFILES); do \ rm -f $(DESTDIR)$(fontsubdir)/$$f; \ @@ -251,6 +259,11 @@ install_dev: $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(fontsubdir)/$$f; \ fi; \ done + -test -z "$(OLDDEVFILES)" \ + || for f in ""$(OLDDEVFILES); do \ + rm -f $(DESTDIR)$(oldfontsubdir)/$$f; \ + $(INSTALL_DATA) $(srcdir)/old/$$f $(DESTDIR)$(oldfontsubdir)/$$f; \ + done -test -z "$(DEVSCRIPTS)" \ || for f in ""$(DEVSCRIPTS); do \ rm -f $(DESTDIR)$(fontsubdir)/$$f; \ @@ -267,9 +280,14 @@ uninstall_dev: || for f in ""$(DEVFILES) $(DEVSCRIPTS); do \ rm -f $(DESTDIR)$(fontsubdir)/$$f; \ done + -test -z "$(OLDDEVFILES)" \ + || for f in ""$(OLDDEVFILES); do \ + rm -f $(DESTDIR)$(oldfontsubdir)/$$f; \ + done -test -d $(DESTDIR)$(fontsubdir)/generate \ && rmdir $(DESTDIR)$(fontsubdir)/generate -rmdir $(DESTDIR)$(fontsubdir) + -rmdir $(DESTDIR)$(oldfontsubdir) .PHONY: depend_src depend_src: depend.temp |