bluetooth: bluez4: Remove the unused "auto_connect" parameter as it is not used in...
[platform/upstream/pulseaudio.git] / Makefile.am
index ddbf64a..899ad7b 100644 (file)
@@ -11,9 +11,7 @@
 # General Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public License
-# along with PulseAudio; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-# USA.
+# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
 
 ACLOCAL_AMFLAGS = -I m4
 
@@ -21,6 +19,7 @@ EXTRA_DIST = \
        bootstrap.sh \
        git-version-gen \
        LICENSE \
+       pulseaudio.supp \
        GPL \
        LGPL \
        doxygen/Makefile.am \
@@ -60,8 +59,20 @@ endif
 cmakedir = $(libdir)/cmake/PulseAudio
 cmake_DATA = PulseAudioConfig.cmake PulseAudioConfigVersion.cmake
 
-bashcompletiondir=$(sysconfdir)/bash_completion.d
-dist_bashcompletion_DATA = shell-completion/pulseaudio-bash-completion.sh
+bashcompletiondir=@bashcompletiondir@
+dist_bashcompletion_DATA = shell-completion/bash/pulseaudio
+
+install-bashcompletion-aliases:
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pactl
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pacmd
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pasuspender
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/padsp
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/pacat
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/paplay
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/parec
+       $(LN_S) -f pulseaudio $(DESTDIR)$(bashcompletiondir)/parecord
+
+install-data-hook: install-bashcompletion-aliases
 
 zshcompletiondir=@zshcompletiondir@
 dist_zshcompletion_DATA = shell-completion/zsh/_pulseaudio
@@ -102,4 +113,4 @@ $(top_srcdir)/.version:
 DISTCLEANFILES = \
         po/.intltool-merge-cache
 
-DISTCHECK_CONFIGURE_FLAGS = --with-udev-rules-dir="$$dc_install_base/lib/udev/rules.d"
+DISTCHECK_CONFIGURE_FLAGS = --with-udev-rules-dir="$$dc_install_base/lib/udev/rules.d" --with-systemduserunitdir="$$dc_install_base/lib/systemd/user" --with-bash-completion-dir="$$dc_install_base/share/bash-completion/completions"