From 1aa7ca986d713a2e7b901bfabfbd411baf9d6434 Mon Sep 17 00:00:00 2001 From: bwarken Date: Thu, 25 Apr 2013 22:37:57 +0000 Subject: src/roff/groff/read_groff_options.pl: Reads `groff' options from `groff.cpp' and writes them into the file `groff_options.info'. src/roff/groff/Makefile.sub: Have the generated file `groff_options.info' be installed into the `groff libdir'. --- src/roff/groff/Makefile.sub | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) (limited to 'src') diff --git a/src/roff/groff/Makefile.sub b/src/roff/groff/Makefile.sub index c0ea081b..f2c97db1 100644 --- a/src/roff/groff/Makefile.sub +++ b/src/roff/groff/Makefile.sub @@ -1,3 +1,31 @@ +# Makefile.sub for `glilypond' (integration into the `groff' source tree) + +# File position: /contrib/lilypond/Makefile.sub + +# Copyright (C) 1993, 2013 +# Free Software Foundation, Inc. +# Rewritten by Werner Lemberg and +# Bernd Warken . + +# Last update: 25 Apr 2013 + +# This file is part of `glilypond' 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# `groff' is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +######################################################################## + PROG=groff$(EXEEXT) MAN1=groff.n XLIBS=$(LIBGROFF) $(LIBGNU) @@ -6,3 +34,32 @@ OBJS=groff.$(OBJEXT) pipeline.$(OBJEXT) CCSRCS=$(srcdir)/groff.cpp CSRCS=$(srcdir)/pipeline.c HDRS=$(srcdir)/pipeline.h + +MOSTLYCLEANADD=groff_options.info + +RM=rm -f + +all: groff_options.info + +groff_options.info: read_groff_options.pl + ./$< > $@ + +install_data: groff_options.info + -test -d $(DESTDIR)$(libdir)/groff \ + || $(mkinstalldirs) $(DESTDIR)$(libdir)/groff + $(RM) $(DESTDIR)$(libdir)/groff/$< + $(INSTALL_SCRIPT) $< $(DESTDIR)$(libdir)/groff + +uninstall_sub: + $(RM) $(DESTDIR)$(libdir)/groff/groff_options.info + -test -d $(DESTDIR)$(libdir)/groff \ + && -rmdir $(DESTDIR)$(libdir)/groff + + +######################################################################## +# Emacs settings +######################################################################## +# +# Local Variables: +# mode: makefile +# End: -- cgit v1.2.1