aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/src/Makefile.am')
-rw-r--r--gprofng/src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/gprofng/src/Makefile.am b/gprofng/src/Makefile.am
index fdd95f5..4c5a836 100644
--- a/gprofng/src/Makefile.am
+++ b/gprofng/src/Makefile.am
@@ -118,7 +118,7 @@ MAINTAINERCLEANFILES = $(man_MANS)
EXTRA_DIST = $(man_MANS)
-lib_LTLIBRARIES = $(LIBGPROFNG)
+pkglib_LTLIBRARIES = $(LIBGPROFNG)
libgprofng_la_SOURCES = $(CCSOURCES) $(CSOURCES)
libgprofng_la_LDFLAGS = -version-info 0:0:0
libgprofng_la_LIBADD = $(top_builddir)/../opcodes/libopcodes.la \
@@ -201,3 +201,7 @@ endif
# so ensure that the necessary libraries are built at dist time.
dist-hook: $(LIBGPROFNG)
+.PHONY: install-data-local
+
+install-data-local: install-pkglibLTLIBRARIES
+ rm -f $(DESTDIR)/$(pkglibdir)/*.la $(DESTDIR)/$(pkglibdir)/*.a