diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:44:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:44:05 +0000 |
commit | d318611dd6f23fcfedd50e9b9e24620b102ba96a (patch) | |
tree | 8b9eef82ca40fdd5a8deeabf07572074c236095d /contrib/glilypond/glilypond.am | |
parent | Initial commit. (diff) | |
download | groff-f22bf21391d2b916c7303c565592ae6e99efbb58.tar.xz groff-f22bf21391d2b916c7303c565592ae6e99efbb58.zip |
Adding upstream version 1.23.0.upstream/1.23.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/glilypond/glilypond.am')
-rw-r--r-- | contrib/glilypond/glilypond.am | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/contrib/glilypond/glilypond.am b/contrib/glilypond/glilypond.am new file mode 100644 index 0000000..d18049f --- /dev/null +++ b/contrib/glilypond/glilypond.am @@ -0,0 +1,64 @@ +# Automake rules for 'glilypond' + +# Copyright (C) 2013-2020 Free Software Foundation, Inc. +# Written by Werner Lemberg <wl@gnu.org> and +# Bernd Warken <groff-bernd.warken-72@web.de>. +# Automake migration by Bertrand Garrigues + +# 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 <http://www.gnu.org/licenses/>. + +######################################################################## +glilypond_srcdir = $(top_srcdir)/contrib/glilypond +bin_SCRIPTS += glilypond +man1_MANS += contrib/glilypond/glilypond.1 + +# files going to lib directory '$(glilypond_dir)' +# TODO glilypond_dir is subsitued by configure.ac, check if this could be removed +glilyponddir = $(glilypond_dir) + +EXTRA_DIST += \ + contrib/glilypond/ChangeLog \ + contrib/glilypond/ChangeLog.0x \ + contrib/glilypond/glilypond.1.man \ + contrib/glilypond/glilypond.pl \ + contrib/glilypond/README.txt \ + contrib/glilypond/examples/example.groff + + +# create perl executable 'glilypond', being stored into 'bindir' +glilypond: $(glilypond_srcdir)/glilypond.pl $(SH_DEPS_SED_SCRIPT) + $(AM_V_GEN)$(RM) $@ \ + && sed -f "$(SH_DEPS_SED_SCRIPT)" \ + -e "s|[@]g[@]|$(g)|g" \ + -e "s|[@]BINDIR[@]|$(DESTDIR)$(bindir)|g" \ + -e "s|[@]glilypond_dir[@]|$(DESTDIR)$(glilypond_dir)|g" \ + -e "s|[@]VERSION[@]|$(VERSION)|g" \ + $(glilypond_srcdir)/glilypond.pl \ + >$@ \ + && chmod +x $@ + +uninstall_groffdirs: uninstall-glilypond-hook +uninstall-glilypond-hook: + if test -d $(DESTDIR)$(glilyponddir); then \ + rmdir $(DESTDIR)$(glilyponddir); \ + fi + + +# Local Variables: +# mode: makefile-automake +# fill-column: 72 +# End: +# vim: set autoindent filetype=automake textwidth=72: |