13 EXTRA_DIST = config.rpath \
16 noinst_DATA = gliv.desktop gliv.png
17 CLEANFILES = gliv.desktop
19 AUTOMAKE_OPTIONS = foreign
21 gliv.1: $(top_srcdir)/README $(top_srcdir)/tools/help2man.awk \
22 $(top_srcdir)/tools/gliv.1.start $(top_srcdir)/tools/gliv.1.end
23 ( cat $(top_srcdir)/tools/gliv.1.start; \
24 awk -f $(top_srcdir)/tools/help2man.awk < $(top_srcdir)/README; \
25 cat $(top_srcdir)/tools/gliv.1.end ) > $@
27 gliv.desktop: gliv.desktop.tmpl
28 sed s-@SHAREDIR@-$(datadir)-g < $< | sed s-@BINDIR@-$(bindir)-g > $@
32 @echo "+----------------------------------------------------------+"
34 @echo "| Note to Zsh users |"
36 @echo "| If you use Zsh's completion mechanism, you can install |"
37 @echo '| tools/_gliv in $$ZSH_PREFIX/share/zsh/site-functions/ |'
38 @echo "| to have Zsh's completion on GLiv's parameters. |"
40 @echo "+----------------------------------------------------------+"
42 @if desktop-file-install --usage > /dev/null 2>&1; then \
43 echo "Installing the GLiv desktop file with desktop-file-install"; \
44 desktop-file-install --vendor=gnome gliv.desktop; \
45 cp gliv.png $(datadir)/pixmaps/gliv.png; \
47 echo "No desktop-file-install(1), skipping gliv.desktop"; \