Export dis-asm.h as part of an install
authorNick Clifton <nickc@redhat.com>
Tue, 26 Feb 2002 22:09:26 +0000 (22:09 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 26 Feb 2002 22:09:26 +0000 (22:09 +0000)
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in

index 30bf2e64b9c4d3f5f287d257084d0553fa1a9995..091de03a05596bcf816d02e3916c3aa592fd5a03 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-26  Brian Gaeke  <brg@dgate.org>
+
+       * Makefile.am (install-data-local): Install dis-asm.h.
+
 2002-02-26  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * configure.in (LINGUAS): Add de.po.
index 502f117b42aad02bcd43b6438f29a6b8bc6fdd8b..00edf82a7d9f25193e05fe62791876f08ad3e221 100644 (file)
@@ -271,6 +271,12 @@ po/POTFILES.in: @MAINT@ Makefile
 config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
        $(SHELL) ./config.status --recheck
 
+# Install libopcodes include file.
+install-data-local: 
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(includedir)
+       $(INSTALL_DATA) $(INCDIR)/dis-asm.h $(DESTDIR)$(includedir)/dis-asm.h
+
 CLEANFILES = \
        stamp-m32r stamp-fr30 stamp-openrisc \
        stamp-xstormy16 \
index 53bc2e2ed04ba253f95cc37141ab30c58b8707f2..824e9aa5f6e1932f56dcf9802046a8746d15b7da 100644 (file)
@@ -416,7 +416,7 @@ acinclude.m4 aclocal.m4 config.in configure configure.in
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = tar
+TAR = gtar
 GZIP_ENV = --best
 SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES)
 OBJECTS = libopcodes.a.$(OBJEXT) $(libopcodes_la_OBJECTS)
@@ -708,7 +708,7 @@ all-recursive-am: config.h
 install-exec-am: install-libLTLIBRARIES
 install-exec: install-exec-recursive
 
-install-data-am:
+install-data-am: install-data-local
 install-data: install-data-recursive
 
 install-am: all-am
@@ -784,10 +784,10 @@ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
 install-info all-recursive-am install-exec-am install-exec \
-install-data-am install-data install-am install uninstall-am uninstall \
-all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
-distclean-generic clean-generic maintainer-clean-generic clean \
-mostlyclean distclean maintainer-clean
+install-data-local install-data-am install-data install-am install \
+uninstall-am uninstall all-redirect all-am all installdirs-am \
+installdirs mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
 
 disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
@@ -812,6 +812,12 @@ po/POTFILES.in: @MAINT@ Makefile
 config.status: $(srcdir)/configure $(srcdir)/../bfd/configure.in
        $(SHELL) ./config.status --recheck
 
+# Install libopcodes include file.
+install-data-local: 
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(includedir)
+       $(INSTALL_DATA) $(INCDIR)/dis-asm.h $(DESTDIR)$(includedir)/dis-asm.h
+
 run-cgen:
        $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGEN) \
          $(CGENDIR) "$(CGENFLAGS)" $(arch) $(prefix) \