From 3429ef600fcef09e96408f8b476ead6cb519cf83 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 21 Jul 2004 13:30:34 +0000 Subject: Make use of MAINTAINERCLEANFILES --- Makefile.am | 15 +++++++++++---- include/Makefile.am | 3 ++- src/Makefile.am | 2 ++ 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index c4fc53e6..34e8e0a7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,11 +2,18 @@ # $Id$ # -SUBDIRS := include src - -DISTCLEANFILES = conftest.c conftest bluez.pc +SUBDIRS = include src EXTRA_DIST = ChangeLog libs.spec +DISTCLEANFILES = bluez.pc + +MAINTAINERCLEANFILES = Makefile.in \ + aclocal.m4 configure config.h.in config.sub config.guess \ + ltmain.sh missing install-sh mkinstalldirs + install-data-local: bluez.pc - $(INSTALL) -D -m 644 $(top_builddir)/bluez.pc $(DESTDIR)$(libdir)/pkgconfig/bluez.pc + $(INSTALL) -D -m 644 $(top_builddir)/$< $(DESTDIR)$(libdir)/pkgconfig/$< + +uninstall-local: bluez.pc + @rm -f $(DESTDIR)$(libdir)/pkgconfig/$< diff --git a/include/Makefile.am b/include/Makefile.am index cbde42bf..4ac8aada 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -10,9 +10,10 @@ include_HEADERS = \ noinst_HEADERS = sdp_internal.h +MAINTAINERCLEANFILES = Makefile.in all-local: - @if [ ! -e bluetooth ] ; then ln -s $(top_srcdir)/include bluetooth ; fi + @if [ ! -e bluetooth ] ; then $(LN_S) $(top_srcdir)/include bluetooth ; fi clean-local: @rm -f bluetooth diff --git a/src/Makefile.am b/src/Makefile.am index 119b3762..46985678 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,3 +8,5 @@ libbluetooth_la_SOURCES = bluetooth.c hci.c sdp.c libbluetooth_la_LDFLAGS = -version-info 1:8:0 INCLUDES = -I$(top_builddir)/include + +MAINTAINERCLEANFILES = Makefile.in -- cgit