groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 26/33: - Add contrib/gpinyin - Add contrib/gperl - Add contrib/g


From: Bertrand Garrigues
Subject: [groff] 26/33: - Add contrib/gpinyin - Add contrib/gperl - Add contrib/gpinyin - Add contrib/grap2graph - Add contrib/pic2graph - Add contrib/groff_filenames - bin_SCRIPTS are now cleaned by 'make mostlyclean' - fix make clean if nothing was build previously
Date: Sun, 07 Sep 2014 23:02:14 +0000

bgarrigues pushed a commit to branch automake2
in repository groff.

commit 490ab4411ebd043ea0c1e2c705c5ab708f8bc197
Author: Bertrand Garrigues <address@hidden>
Date:   Sat Sep 6 18:43:28 2014 +0200

    - Add contrib/gpinyin
    - Add contrib/gperl
    - Add contrib/gpinyin
    - Add contrib/grap2graph
    - Add contrib/pic2graph
    - Add contrib/groff_filenames
    - bin_SCRIPTS are now cleaned by 'make mostlyclean'
    - fix make clean 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/gideal/gideal.am                           |    1 -
 contrib/glilypond/glilypond.am                     |    1 -
 contrib/gperl/{Makefile.sub => gperl.am}           |   51 +++++----------
 contrib/gpinyin/Makefile.sub                       |   72 --------------------
 contrib/gpinyin/gpinyin.am                         |   53 ++++++++++++++
 contrib/grap2graph/{Makefile.sub => grap2graph.am} |   29 +++-----
 .../{Makefile.sub => groff_filenames.am}           |   15 ++--
 contrib/pic2graph/{Makefile.sub => pic2graph.am}   |   29 +++-----
 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 -
 19 files changed, 131 insertions(+), 175 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 9c6ead6..4275dee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -537,6 +537,11 @@ include $(top_srcdir)/contrib/eqn2graph/eqn2graph.am
 include $(top_srcdir)/contrib/gdiffmk/gdiffmk.am
 include $(top_srcdir)/contrib/gideal/gideal.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
@@ -652,7 +657,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 a508fcc..cb7f380 100644
--- a/TESTS
+++ b/TESTS
@@ -150,6 +150,18 @@ from contrib/gdiffmk:
 from contrib/gideal
   - `gideal' 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
@@ -191,6 +203,10 @@ were built from a clean environment:
   - make eqn2graph
   - make gdiffmk
   - make gideal
+  - make gperl
+  - make gpinyin
+  - make grap2graph
+  - make pic2graph
 
 2.2 make clean
 
@@ -210,12 +226,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 953025b..053cc7b 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 f3b35f5..7823195 100644
--- a/contrib/eqn2graph/eqn2graph.am
+++ b/contrib/eqn2graph/eqn2graph.am
@@ -25,8 +25,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 0ec16ba..7add6a5 100644
--- a/contrib/gdiffmk/gdiffmk.am
+++ b/contrib/gdiffmk/gdiffmk.am
@@ -44,8 +44,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/gideal/gideal.am b/contrib/gideal/gideal.am
index 354b49f..b3c9369 100644
--- a/contrib/gideal/gideal.am
+++ b/contrib/gideal/gideal.am
@@ -30,7 +30,6 @@ gideal_srcdir = $(top_srcdir)/contrib/gideal
 bin_SCRIPTS += gideal
 man1_MANS += contrib/gideal/gideal.n
 man7_MANS += contrib/gideal/ideal.n
-MOSTLYCLEANFILES += gideal
 
 gideallibfilesdir = $(datasubdir)/ideal/libfiles
 dist_gideallibfiles_DATA = \
diff --git a/contrib/glilypond/glilypond.am b/contrib/glilypond/glilypond.am
index 8b105b5..441b4aa 100644
--- a/contrib/glilypond/glilypond.am
+++ b/contrib/glilypond/glilypond.am
@@ -39,7 +39,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 51%
rename from contrib/gperl/Makefile.sub
rename to contrib/gperl/gperl.am
index 02f24f4..310b73f 100644
--- a/contrib/gperl/Makefile.sub
+++ b/contrib/gperl/gperl.am
@@ -1,12 +1,13 @@
-# 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
 
-# Last update: 25 Feb 2014
+# Last update: Aug 2014
 
 # This file is part of `gperl' which is part of `groff'.
 
@@ -26,39 +27,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 58dcdfe..0000000
--- a/contrib/gpinyin/Makefile.sub
+++ /dev/null
@@ -1,72 +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>.
-
-# Last update: 8 Aug 2014
-
-# 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|@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; \
-       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..76afe4a
--- /dev/null
+++ b/contrib/gpinyin/gpinyin.am
@@ -0,0 +1,53 @@
+# 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
+
+# Last update: 9 Aug 2014
+
+# 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@]|$(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 60%
rename from contrib/grap2graph/Makefile.sub
rename to contrib/grap2graph/grap2graph.am
index 9647eeb..b84b683 100644
--- a/contrib/grap2graph/Makefile.sub
+++ b/contrib/grap2graph/grap2graph.am
@@ -16,23 +16,16 @@
 # 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
-
-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 -f $(DESTDIR)$(bindir)/grap2graph
-       $(INSTALL_SCRIPT) grap2graph $(DESTDIR)$(bindir)/grap2graph
-
-uninstall_sub:
-       rm -f $(DESTDIR)$(bindir)/grap2graph
diff --git a/contrib/groff_filenames/Makefile.sub 
b/contrib/groff_filenames/groff_filenames.am
similarity index 69%
rename from contrib/groff_filenames/Makefile.sub
rename to contrib/groff_filenames/groff_filenames.am
index f2b0222..476b7d6 100644
--- a/contrib/groff_filenames/Makefile.sub
+++ b/contrib/groff_filenames/groff_filenames.am
@@ -1,13 +1,14 @@
-# Makefile.sub for `groff_filenames' (integration into the `groff' source tree)
+# Automake rules for `groff_filenames' (integration into the `groff' source 
tree)
 
-# 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
 
-# Last update: 6 Jan 2014
+# Last update: Aug 2014
 
 # This file is part of `groff'.
 
@@ -26,7 +27,7 @@
 
 ########################################################################
 
-MAN7=\
-  groff_filenames.n
-
-MOSTLYCLEANADD=$(MAN7)
+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 61%
rename from contrib/pic2graph/Makefile.sub
rename to contrib/pic2graph/pic2graph.am
index 4a98487..f6641da 100644
--- a/contrib/pic2graph/Makefile.sub
+++ b/contrib/pic2graph/pic2graph.am
@@ -16,23 +16,16 @@
 # 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
-
-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 -f $(DESTDIR)$(bindir)/pic2graph
-       $(INSTALL_SCRIPT) pic2graph $(DESTDIR)$(bindir)/pic2graph
-
-uninstall_sub:
-       rm -f $(DESTDIR)$(bindir)/pic2graph
diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am
index 9039894..439e511 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 7ba3fbf..ca05d3b 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 -f $@
        sed -f $(SH_DEPS_SED_SCRIPT) \
diff --git a/src/preproc/eqn/eqn.am b/src/preproc/eqn/eqn.am
index 4c9fe48..addc159 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 -f $@
diff --git a/src/roff/grog/grog.am b/src/roff/grog/grog.am
index 0c56410..2e2e775 100644
--- a/src/roff/grog/grog.am
+++ b/src/roff/grog/grog.am
@@ -34,8 +34,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 92d1dad..3255542 100644
--- a/src/roff/nroff/nroff.am
+++ b/src/roff/nroff/nroff.am
@@ -5,8 +5,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 adb742e..1bdcaad 100644
--- a/src/utils/afmtodit/afmtodit.am
+++ b/src/utils/afmtodit/afmtodit.am
@@ -28,8 +28,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)|" \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]