[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 26/45: Add various contrib, fix some build rules.
From: |
Bertrand Garrigues |
Subject: |
[groff] 26/45: Add various contrib, fix some build rules. |
Date: |
Tue, 11 Nov 2014 21:25:58 +0000 |
bgarrigues pushed a commit to branch automake3
in repository groff.
commit 69ce4a8737283c93c81c51a0520f5cf707539b42
Author: Bertrand Garrigues <address@hidden>
Date: Sat Sep 6 18:43:28 2014 +0200
Add various contrib, fix some build rules.
Add the following contrib:
- contrib/gpinyin
- contrib/gperl
- contrib/gpinyin
- contrib/grap2graph
- contrib/pic2graph
- contrib/groff_filenames
The scripts listed in `bin_SCRIPTS' are now cleaned by `make
mostlyclean'.
Fix `make clean': it failed if nothing was build previously.
---
Makefile.am | 7 ++-
TESTS | 24 ++++++-
contrib/chem/chem.am | 1 -
contrib/eqn2graph/eqn2graph.am | 2 -
contrib/gdiffmk/gdiffmk.am | 2 -
contrib/glilypond/glilypond.am | 1 -
contrib/gperl/{Makefile.sub => gperl.am} | 49 ++++---------
contrib/gpinyin/Makefile.sub | 71 --------------------
contrib/gpinyin/gpinyin.am | 52 ++++++++++++++
contrib/grap2graph/{Makefile.sub => grap2graph.am} | 37 +++-------
.../{Makefile.sub => groff_filenames.am} | 19 ++---
contrib/pic2graph/{Makefile.sub => pic2graph.am} | 37 +++-------
font/devpdf/devpdf.am | 8 ++-
src/devices/gropdf/gropdf.am | 4 -
src/preproc/eqn/eqn.am | 1 -
src/roff/grog/grog.am | 2 -
src/roff/nroff/nroff.am | 2 -
src/utils/afmtodit/afmtodit.am | 2 -
18 files changed, 128 insertions(+), 193 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 54017f6..17cbb8d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -540,6 +540,11 @@ include $(top_srcdir)/contrib/chem/chem.am
include $(top_srcdir)/contrib/eqn2graph/eqn2graph.am
include $(top_srcdir)/contrib/gdiffmk/gdiffmk.am
include $(top_srcdir)/contrib/glilypond/glilypond.am
+include $(top_srcdir)/contrib/gperl/gperl.am
+include $(top_srcdir)/contrib/gpinyin/gpinyin.am
+include $(top_srcdir)/contrib/grap2graph/grap2graph.am
+include $(top_srcdir)/contrib/groff_filenames/groff_filenames.am
+include $(top_srcdir)/contrib/pic2graph/pic2graph.am
include $(top_srcdir)/font/devX100/devX100.am
include $(top_srcdir)/font/devX100-12/devX100-12.am
include $(top_srcdir)/font/devX75/devX75.am
@@ -655,7 +660,7 @@ EXTRA_DIST += \
README.MinGW \
arch/djgpp
-MOSTLYCLEANFILES += $(man1_MANS) $(man5_MANS) $(man7_MANS)
+MOSTLYCLEANFILES += $(man1_MANS) $(man5_MANS) $(man7_MANS) $(bin_SCRIPTS)
# Rule to build .man files. The brackets around the @ are used to prevent the
# substitution of the variable by automake.
diff --git a/TESTS b/TESTS
index 4b76e20..cfd1a2d 100644
--- a/TESTS
+++ b/TESTS
@@ -146,6 +146,18 @@ from contrib/eqn2graph:
from contrib/gdiffmk:
- `gdiffmk' script
+from contrib/gperl
+ - `gperl' script
+
+from contrib/gpinyin
+ - `gpinyin' script
+
+from contrib/grap2graph
+ - `grap2graph' script
+
+from contrib/pic2graph
+ - `pic2graph' script
+
In order to check and improve the dependencies, the following targets
were built from a clean environment:
- make lib/libgnu.a
@@ -186,6 +198,10 @@ were built from a clean environment:
- make chem
- make eqn2graph
- make gdiffmk
+ - make gperl
+ - make gpinyin
+ - make grap2graph
+ - make pic2graph
2.2 make clean
@@ -205,12 +221,14 @@ The following files remain (this is expected):
version.cpp.
- gnulib's charset.alias, ref-add.sed, ref-del.sed and configmake.h
- src/preproc generated .cpp, hpp, and .output files
+ - Scripts (listed in bin_SCRIPTS) are added to the MOSTLYCLEANFILES
+ list.
Differences with former build system:
- - Programs and scripts (listed in bin_PROGRAMS bin_SCRIPTS) are not
- cleaned by 'make mostlyclean'. This could be changed if needed
- (MOSTLYCLEANFILES += $(bin_PROGRAMS) $(bin_SCRIPTS)).
+ - Programs (listed in bin_PROGRAMS) are not cleaned by 'make
+ mostlyclean'. This could be changed if needed (MOSTLYCLEANFILES +=
+ $(bin_PROGRAMS)).
2.4 make distclean
diff --git a/contrib/chem/chem.am b/contrib/chem/chem.am
index 5b56494..80f72b1 100644
--- a/contrib/chem/chem.am
+++ b/contrib/chem/chem.am
@@ -62,7 +62,6 @@ EXTRA_DIST += \
man1_MANS += contrib/chem/chem.n
MOSTLYCLEANFILES += $(CHEM_GENEXAMPLES) $(nodist_chemexample122_DATA) \
- chem \
contrib/chem/README
# This is strangly built but not installed
diff --git a/contrib/eqn2graph/eqn2graph.am b/contrib/eqn2graph/eqn2graph.am
index 2dd5339..4e66cce 100644
--- a/contrib/eqn2graph/eqn2graph.am
+++ b/contrib/eqn2graph/eqn2graph.am
@@ -26,8 +26,6 @@ EXTRA_DIST += \
contrib/eqn2graph/eqn2graph.man \
contrib/eqn2graph/eqn2graph.sh
-MOSTLYCLEANFILES += eqn2graph
-
eqn2graph: $(top_srcdir)/contrib/eqn2graph/eqn2graph.sh
sed -e "s|address@hidden@]|$(g)|g" \
-e "s|address@hidden@]|$(VERSION)|" \
diff --git a/contrib/gdiffmk/gdiffmk.am b/contrib/gdiffmk/gdiffmk.am
index 62f1dfa..848b08b 100644
--- a/contrib/gdiffmk/gdiffmk.am
+++ b/contrib/gdiffmk/gdiffmk.am
@@ -42,8 +42,6 @@ EXTRA_DIST += \
contrib/gdiffmk/tests/file1 \
contrib/gdiffmk/tests/file2
-MOSTLYCLEANFILES += gdiffmk
-
gdiffmk: $(gdiffmk_srcdir)/gdiffmk.sh
sed -e "s|address@hidden@]|$(bindir)|g" \
-e "s|address@hidden@]|$(VERSION)|g" \
diff --git a/contrib/glilypond/glilypond.am b/contrib/glilypond/glilypond.am
index 2f8264a..d05f4db 100644
--- a/contrib/glilypond/glilypond.am
+++ b/contrib/glilypond/glilypond.am
@@ -37,7 +37,6 @@ dist_glilypond_DATA = \
contrib/glilypond/args.pl \
contrib/glilypond/glilypond.pl
-MOSTLYCLEANFILES += glilypond
EXTRA_DIST += \
contrib/glilypond/ChangeLog \
contrib/glilypond/ChangeLog.0x \
diff --git a/contrib/gperl/Makefile.sub b/contrib/gperl/gperl.am
similarity index 52%
rename from contrib/gperl/Makefile.sub
rename to contrib/gperl/gperl.am
index 4e8fd07..1ace5cf 100644
--- a/contrib/gperl/Makefile.sub
+++ b/contrib/gperl/gperl.am
@@ -1,9 +1,10 @@
-# Makefile.sub for `gperl' (preprocessor for added Perl parts)
+# Automake rules for `gperl' (preprocessor for added Perl parts)
-# File position: <groff-source>/contrib/gperl/Makefile.sub
+# File position: <groff-source>/contrib/gperl/gperl.am
# Copyright (C) 2014 Free Software Foundation, Inc.
# Written by Bernd Warken <address@hidden>.
+# Automake migration by Bertrand Garrigues
# This file is part of `gperl' which is part of `groff'.
@@ -23,39 +24,19 @@
########################################################################
-MAN1=gperl.n
-
-MOSTLYCLEANADD=gperl $(MAN1)
-
-# not all make programs have $(RM) predefined.
-RM=rm -f
-
-all: gperl
-
-gperl: gperl.pl
+bin_SCRIPTS += gperl
+man1_MANS += contrib/gperl/gperl.n
+EXTRA_DIST += \
+ contrib/gperl/ChangeLog \
+ contrib/gperl/gperl.man \
+ contrib/gperl/gperl.pl
+gperl: $(top_srcdir)/contrib/gperl/gperl.pl shdeps.sed
+ $(RM) $@
sed -f "$(SH_DEPS_SED_SCRIPT)" \
- -e "s|@g@|$(g)|g" \
- -e "s|@BINDIR@|$(DESTDIR)$(bindir)|g" \
- -e "s|@VERSION@|$(version)$(revision)|g" \
+ -e "s|address@hidden@]|$(g)|g" \
+ -e "s|address@hidden@]|$(DESTDIR)$(bindir)|g" \
+ -e "s|address@hidden@]|$(VERSION)|g" \
-e "$(SH_SCRIPT_SED_CMD)" \
- $(srcdir)/gperl.pl >$@; \
+ $(top_srcdir)/contrib/gperl/gperl.pl >$@; \
chmod +x $@
-.PHONY: install_data
-install_data: gperl
- -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
- $(RM) $(DESTDIR)$(bindir)/gperl
- $(INSTALL_SCRIPT) gperl $(DESTDIR)$(bindir)/gperl
-
-.PHONY: uninstall_sub
-uninstall_sub:
- $(RM) $(DESTDIR)$(bindir)/gperl
-
-
-########################################################################
-# Emacs settings
-########################################################################
-#
-# Local Variables:
-# mode: makefile
-# End:
diff --git a/contrib/gpinyin/Makefile.sub b/contrib/gpinyin/Makefile.sub
deleted file mode 100644
index 4c499de..0000000
--- a/contrib/gpinyin/Makefile.sub
+++ /dev/null
@@ -1,71 +0,0 @@
-# Makefile.sub for `gpinyin' (preprocessor for added Perl parts)
-
-# File position: <groff-source>/contrib/gpinyin/Makefile.sub
-
-# Copyright (C) 2014 Free Software Foundation, Inc.
-# Written by Bernd Warken <address@hidden>.
-
-# This file is part of `gpinyin' 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 2 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/gpl-2.0.html>.
-
-########################################################################
-
-MAN1=gpinyin.n
-
-MOSTLYCLEANADD=gpinyin $(MAN1)
-
-# not all make programs have $(RM) predefined.
-RM=rm -f
-
-all: gpinyin
-
-gpinyin: gpinyin.pl
- sed -f "$(SH_DEPS_SED_SCRIPT)" \
- -e "s|@g@|$(g)|g" \
- -e "s|@BINDIR@|$(DESTDIR)$(bindir)|g" \
- -e "s|@gpinyin_dir@|$(DESTIR)$(gpinyin_dir)|" \
- -e "s|@VERSION@|$(version)$(revision)|g" \
- -e "$(SH_SCRIPT_SED_CMD)" \
- $(srcdir)/gpinyin.pl >$@; \
- chmod +x $@
-
-.PHONY: install_data
-install_data: gpinyin subs.pl
- test -d $(DESTDIR)$(bindir) || \
- $(mkinstalldirs) $(DESTDIR)$(bindir); \
- $(RM) $(DESTDIR)$(bindir)/gpinyin; \
- $(INSTALL_SCRIPT) gpinyin $(DESTDIR)$(bindir)/gpinyin; \
- test -d $(DESTDIR)$(gpinyin_dir) || \
- $(mkinstalldirs) $(DESTDIR)$(gpinyin_dir); \
- $(RM) $(DESTDIR)$(gpinyin_dir)/subs.pl; \
- $(INSTALL_SCRIPT) $(srcdir)/subs.pl \
- $(DESTDIR)$(gpinyin_dir)/subs.pl
-
-.PHONY: uninstall_sub
-uninstall_sub:
- $(RM) $(DESTDIR)$(bindir)/gpinyin; \
- $(RM) $(DESTDIR)$(gpinyin_dir)/subs.pl;
- -test -d $(DESTDIR)$(gpinyin_dir) && \
- rmdir $(DESTDIR)$(gpinyin_dir)
-
-
-########################################################################
-# Emacs settings
-########################################################################
-#
-# Local Variables:
-# mode: makefile
-# End:
diff --git a/contrib/gpinyin/gpinyin.am b/contrib/gpinyin/gpinyin.am
new file mode 100644
index 0000000..20fd14b
--- /dev/null
+++ b/contrib/gpinyin/gpinyin.am
@@ -0,0 +1,52 @@
+# Automake rules for `gpinyin' (preprocessor for added Perl parts)
+
+# File position: <groff-source>/contrib/gpinyin/gpinyin.am
+
+# Copyright (C) 2014
+# Free Software Foundation, Inc.
+# Written by Bernd Warken <address@hidden>.
+# Moved to automake by Bertrand Garrigues
+
+# This file is part of `gpinyin' 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 2 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/gpl-2.0.html>.
+
+########################################################################
+
+gpinyin_srcdir = $(top_srcdir)/contrib/gpinyin
+bin_SCRIPTS += gpinyin
+gpinyindir = $(gpinyin_dir)
+dist_gpinyin_DATA = contrib/gpinyin/subs.pl
+man1_MANS += contrib/gpinyin/gpinyin.n
+EXTRA_DIST += \
+ contrib/gpinyin/ChangeLog \
+ contrib/gpinyin/gpinyin.man \
+ contrib/gpinyin/gpinyin.pl
+
+gpinyin: contrib/gpinyin/gpinyin.pl
+ sed -f "$(SH_DEPS_SED_SCRIPT)" \
+ -e "s|address@hidden@]|$(g)|g" \
+ -e "s|address@hidden@]|$(DESTDIR)$(bindir)|g" \
+ -e "s|address@hidden@]|$(DESTIR)$(gpinyin_dir)|" \
+ -e "s|address@hidden@]|$(VERSION)|g" \
+ -e "$(SH_SCRIPT_SED_CMD)" \
+ $(gpinyin_srcdir)/gpinyin.pl >$@; \
+ chmod +x $@
+
+uninstall_groffdirs: uninstall-gpinyin-hook
+uninstall-gpinyin-hook:
+ if test -d $(DESTDIR)$(gpinyindir); then \
+ rmdir $(DESTDIR)$(gpinyindir); \
+ fi
diff --git a/contrib/grap2graph/Makefile.sub b/contrib/grap2graph/grap2graph.am
similarity index 51%
rename from contrib/grap2graph/Makefile.sub
rename to contrib/grap2graph/grap2graph.am
index 97761fe..3d47da1 100644
--- a/contrib/grap2graph/Makefile.sub
+++ b/contrib/grap2graph/grap2graph.am
@@ -15,32 +15,17 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# Makefile.sub
+# grap2graph.am
#
-MAN1=grap2graph.n
-MOSTLYCLEANADD=grap2graph
-RM=rm -f
-all: grap2graph
-
-grap2graph: grap2graph.sh
- sed -e "s|@g@|$(g)|g" \
- -e "s|@VERSION@|$(version)$(revision)|" \
- -e $(SH_SCRIPT_SED_CMD) $(srcdir)/grap2graph.sh >$@
+grap2graph_srcdir = $(top_srcdir)/contrib/grap2graph
+bin_SCRIPTS += grap2graph
+man1_MANS += contrib/grap2graph/grap2graph.n
+EXTRA_DIST += \
+ $(grap2graph_srcdir)/grap2graph.sh \
+ $(grap2graph_srcdir)/grap2graph.man
+grap2graph: $(grap2graph_srcdir)/grap2graph.sh
+ sed -e "s|address@hidden@]|$(g)|g" \
+ -e "s|address@hidden@]|$(VERSION)|" \
+ -e $(SH_SCRIPT_SED_CMD) $(grap2graph_srcdir)/grap2graph.sh >$@
chmod +x $@
-
-install_data: grap2graph
- -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
- $(RM) $(DESTDIR)$(bindir)/grap2graph
- $(INSTALL_SCRIPT) grap2graph $(DESTDIR)$(bindir)/grap2graph
-
-uninstall_sub:
- $(RM) $(DESTDIR)$(bindir)/grap2graph
-
-########################################################################
-# Emacs settings
-########################################################################
-#
-# Local Variables:
-# mode: makefile
-# End:
diff --git a/contrib/groff_filenames/Makefile.sub
b/contrib/groff_filenames/groff_filenames.am
similarity index 71%
rename from contrib/groff_filenames/Makefile.sub
rename to contrib/groff_filenames/groff_filenames.am
index bc6b955..076238c 100644
--- a/contrib/groff_filenames/Makefile.sub
+++ b/contrib/groff_filenames/groff_filenames.am
@@ -1,10 +1,11 @@
-# Makefile.sub for `groff_filenames' (integration into the `groff' source tree)
+# Automake rules for `groff_filenames'
-# File position: <groff-source>/contrib/groff_filenames/Makefile.sub
+# File position: <groff-source>/contrib/groff_filenames/groff_filenames.am
# Copyright (C) 2013-2014 Free Software Foundation, Inc.
#
# Written by Bernd Warken <address@hidden>.
+# Automake migration by Bertrand Garrigues
# This file is part of `groff'.
@@ -23,13 +24,7 @@
########################################################################
-MAN7=\
- groff_filenames.n
-
-MOSTLYCLEANADD=$(MAN7)
-
-########################################################################
-##### Emacs settings
-# Local Variables:
-# mode: makefile
-# End:
+man7_MANS += contrib/groff_filenames/groff_filenames.n
+EXTRA_DIST += \
+ contrib/groff_filenames/ChangeLog \
+ contrib/groff_filenames/groff_filenames.man
diff --git a/contrib/pic2graph/Makefile.sub b/contrib/pic2graph/pic2graph.am
similarity index 54%
rename from contrib/pic2graph/Makefile.sub
rename to contrib/pic2graph/pic2graph.am
index d49b7e3..313fd67 100644
--- a/contrib/pic2graph/Makefile.sub
+++ b/contrib/pic2graph/pic2graph.am
@@ -15,32 +15,17 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# Makefile.sub
+# pic2graph.am
#
-MAN1=pic2graph.n
-MOSTLYCLEANADD=pic2graph
-RM=rm -f
-all: pic2graph
-
-pic2graph: pic2graph.sh
- sed -e "s|@g@|$(g)|g" \
- -e "s|@VERSION@|$(version)$(revision)|" \
- -e $(SH_SCRIPT_SED_CMD) $(srcdir)/pic2graph.sh >$@
+pic2graph_srcdir = $(top_srcdir)/contrib/pic2graph
+man1_MANS += contrib/pic2graph/pic2graph.n
+bin_SCRIPTS += pic2graph
+EXTRA_DIST += \
+ contrib/pic2graph/pic2graph.sh \
+ contrib/pic2graph/pic2graph.man
+pic2graph: $(pic2graph_srcdir)/pic2graph.sh
+ sed -e "s|address@hidden@]|$(g)|g" \
+ -e "s|address@hidden@]|$(VERSION)|" \
+ -e $(SH_SCRIPT_SED_CMD) $(pic2graph_srcdir)/pic2graph.sh >$@
chmod +x $@
-
-install_data: pic2graph
- -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
- $(RM) $(DESTDIR)$(bindir)/pic2graph
- $(INSTALL_SCRIPT) pic2graph $(DESTDIR)$(bindir)/pic2graph
-
-uninstall_sub:
- $(RM) $(DESTDIR)$(bindir)/pic2graph
-
-
-########################################################################
-# Emacs settings
-#
-# Local Variables:
-# mode: makefile
-# End:
diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am
index ab95109..1122102 100644
--- a/font/devpdf/devpdf.am
+++ b/font/devpdf/devpdf.am
@@ -127,9 +127,11 @@ mostlyclean-local: mostlyclean_devpdf_extra
mostlyclean_devpdf_extra:
@echo Cleaning font/devpdf
rm -rf $(top_builddir)/font/devpdf/enc $(top_builddir)/font/devpdf/map;
- for f in $(GROFF_FONT_FILES); do \
- rm -f $(top_builddir)/font/devpdf/$$f; \
- done
+ if test -d $(top_builddir)/font/devpdf; then \
+ for f in $(GROFF_FONT_FILES); do \
+ rm -f $(top_builddir)/font/devpdf/$$f; \
+ done; \
+ fi
install-data-local: install_devpdf
install_devpdf:
diff --git a/src/devices/gropdf/gropdf.am b/src/devices/gropdf/gropdf.am
index 24a6769..f96a714 100644
--- a/src/devices/gropdf/gropdf.am
+++ b/src/devices/gropdf/gropdf.am
@@ -32,10 +32,6 @@ man1_MANS += \
src/devices/gropdf/gropdf.n \
src/devices/gropdf/pdfmom.n
-MOSTLYCLEANFILES += \
- gropdf \
- pdfmom
-
gropdf: $(gropdf_dir)/gropdf.pl $(SH_DEPS_SED_SCRIPT)
$(RM) $@
sed -f $(SH_DEPS_SED_SCRIPT) \
diff --git a/src/preproc/eqn/eqn.am b/src/preproc/eqn/eqn.am
index 0c3bd19..98d55c3 100644
--- a/src/preproc/eqn/eqn.am
+++ b/src/preproc/eqn/eqn.am
@@ -55,7 +55,6 @@ CLEANFILES += \
src/preproc/eqn/eqn.hpp \
src/preproc/eqn/eqn.cpp \
src/preproc/eqn/eqn.output
-MOSTLYCLEANFILES += neqn
neqn: $(top_srcdir)/src/preproc/eqn/neqn.sh $(SH_DEPS_SED_SCRIPT)
$(RM) $@
diff --git a/src/roff/grog/grog.am b/src/roff/grog/grog.am
index 88c8ecd..e70e645 100644
--- a/src/roff/grog/grog.am
+++ b/src/roff/grog/grog.am
@@ -32,8 +32,6 @@ EXTRA_DIST += \
src/roff/grog/grog.man \
src/roff/grog/grog.pl
-MOSTLYCLEANFILES += grog
-
# Perl version works for all parts of `groff'.
grog: $(grog_srcdir)/grog.pl $(GROG) $(SH_DEPS_SED_SCRIPT)
diff --git a/src/roff/nroff/nroff.am b/src/roff/nroff/nroff.am
index cc5cb70..13aeaa9 100644
--- a/src/roff/nroff/nroff.am
+++ b/src/roff/nroff/nroff.am
@@ -23,8 +23,6 @@ EXTRA_DIST += \
src/roff/nroff/nroff.man \
src/roff/nroff/nroff.sh
-MOSTLYCLEANFILES += nroff
-
nroff: $(nroff_srcdir)/nroff.sh $(SH_DEPS_SED_SCRIPT)
rm -f $@
sed -f $(SH_DEPS_SED_SCRIPT) \
diff --git a/src/utils/afmtodit/afmtodit.am b/src/utils/afmtodit/afmtodit.am
index 021a1c3..30d46c9 100644
--- a/src/utils/afmtodit/afmtodit.am
+++ b/src/utils/afmtodit/afmtodit.am
@@ -31,8 +31,6 @@ EXTRA_DIST += \
src/utils/afmtodit/afmtodit.tables \
src/utils/afmtodit/make-afmtodit-tables
-MOSTLYCLEANFILES += afmtodit
-
afmtodit: $(afmtodit_srcdir)/afmtodit.pl $(afmtodit_srcdir)/afmtodit.tables
if test -n "$(PERL)"; then \
sed -e "s|/usr/bin/perl|$(PERL)|" \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 26/45: Add various contrib, fix some build rules.,
Bertrand Garrigues <=