diff options
| author | Lennart Poettering <lennart@poettering.net> | 2008-12-12 20:29:28 +0100 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2008-12-12 20:29:28 +0100 | 
| commit | a2ffd92ac85270b4ac30b889292e0f9c24bac98f (patch) | |
| tree | 3fcfb42f259456627842ac6de67607c9c9a8ecd7 | |
| parent | 17a87e365175dac3682735710522695b7e5a6bdc (diff) | |
Install only man pages to installed binaries.
Original patch rom Stanislav Brabec.
Re #222
| -rw-r--r-- | man/Makefile.am | 15 | 
1 files changed, 12 insertions, 3 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 8f85f3c..7d08828 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -65,8 +65,11 @@ endif  if HAVE_PYTHON  man_MANS += \ -	avahi-discover.1 \  	avahi-bookmarks.1 +if HAVE_GTK +man_MANS += \ +	avahi-discover.1 +endif  endif  endif @@ -233,16 +236,22 @@ EXTRA_DIST = \  if HAVE_DBUS +BSSH_LN = +if HAVE_GTK +if HAVE_GLIB +BSSH_LN += $(LN_S) bssh.1 bvnc.1 && +endif +endif  install-exec-local:  	mkdir -p $(DESTDIR)/$(mandir)/man1 && \  		cd $(DESTDIR)/$(mandir)/man1 && \  		rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 bvnc.1 && \ +		$(BSSH_LN) \  		$(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \  		$(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \  		$(LN_S) avahi-browse.1 avahi-browse-domains.1 && \  		$(LN_S) avahi-publish.1 avahi-publish-address.1 && \ -                $(LN_S) avahi-publish.1 avahi-publish-service.1 && \ -                $(LN_S) bssh.1 bvnc.1 +		$(LN_S) avahi-publish.1 avahi-publish-service.1  endif  | 
