* Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
authorJason Molenda <crash@cygnus>
Thu, 1 Aug 1996 07:13:18 +0000 (07:13 +0000)
committerJason Molenda <crash@cygnus>
Thu, 1 Aug 1996 07:13:18 +0000 (07:13 +0000)
gdb/ChangeLog
gdb/Makefile.in

index 89c15d6..d96a231 100644 (file)
@@ -1,3 +1,9 @@
+start-sanitize-gdbtk 
+Thu Aug  1 16:12:05 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
+
+       * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
+
+end-sanitize-gdbtk
 Wed Jul 31 20:21:24 1996  Fred Fish  <fnf@cygnus.com>
 
        * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
index 568ab74..02f7b16 100644 (file)
@@ -542,7 +542,7 @@ install-only:
                $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
        # start-sanitize-gdbtk
        if [ x"$(ENABLE_GDBTK)" != x ] ; then \
-                 $(INSTALL_DATA) $(srcdir)/gdbtk.tcl $(libdir)/gdbtk.tcl ; \
+                 $(INSTALL_DATA) $(srcdir)/gdbtk.tcl $(datadir)/gdbtk.tcl ; \
                else \
                  true ; \
                fi
@@ -560,7 +560,7 @@ uninstall: force
                rm -f $(bindir)/$$transformed_name $(man1dir)/$$transformed_name.1
        # start-sanitize-gdbtk
        if [ x"$(ENABLE_GDBTK)" != x ] ; then \
-               rm -f $(libdir)/gdbtk.tcl ; \
+               rm -f $(datadir)/gdbtk.tcl ; \
        fi
        # end-sanitize-gdbtk
        @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
@@ -1141,7 +1141,7 @@ fork-child.o: fork-child.c $(wait_h) $(defs_h) $(gdbcore_h) \
 gdbtk.o: gdbtk.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
        $(bfd_h) symfile.h objfiles.h target.h gdb_string.h
        $(CC) -c $(INTERNAL_CFLAGS) $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
-               $(srcdir)/gdbtk.c -DGDBTK_FILENAME=\"$(libdir)/gdbtk.tcl\"
+               $(srcdir)/gdbtk.c -DGDBTK_FILENAME=\"$(datadir)/gdbtk.tcl\"
 # end-sanitize-gdbtk
 
 gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \