diff options
author | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2014-09-06 18:43:28 +0200 |
---|---|---|
committer | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2015-01-27 23:13:14 +0100 |
commit | e9ef60c9d50c9a0ee1483250a51af7f4c5ae0825 (patch) | |
tree | 821245db06bc2521899faeca172c9e60c0025954 /contrib/grap2graph | |
parent | 4d0f68ef6aa31b9a83b9fe323cc0b9138b6fc0b4 (diff) | |
download | groff-git-e9ef60c9d50c9a0ee1483250a51af7f4c5ae0825.tar.gz |
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.
Diffstat (limited to 'contrib/grap2graph')
-rw-r--r-- | contrib/grap2graph/grap2graph.am (renamed from contrib/grap2graph/Makefile.sub) | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/contrib/grap2graph/Makefile.sub b/contrib/grap2graph/grap2graph.am index 97761fe0d..3d47da160 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|[@]g[@]|$(g)|g" \ + -e "s|[@]VERSION[@]|$(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: |