On Tue, Mar 27, 2001 at 11:11:42PM +0200, [EMAIL PROTECTED] wrote:
> 
> It's between revision 0.119 and 0.120, diffs attached.  I'm looking for
> the problem.

Here are the changes it introduces.  At the bottom you can see what
went wrong.  There is something in the PROGRAMS handling I broke :(

--- Makefile.good       Tue Mar 27 23:24:11 2001
+++ Makefile.bad        Tue Mar 27 23:23:10 2001
@@ -225,8 +225,7 @@
        cd $(srcdir) && $(AUTOCONF)
 
 mostlyclean-compile:
-       -rm -f *.o core *.core
-       -rm -f *.$(OBJEXT)
+       -rm -f *.$(OBJEXT) core *.core
 
 distclean-compile:
        -rm -f *.tab.c
@@ -280,7 +279,7 @@
        $(mkinstalldirs) $(DESTDIR)$(bindir)
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
          if test -f $$p; then \
-           f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 
's/$$/$(EXEEXT)/'`"; \
+           f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) 
$$p $(DESTDIR)$(bindir)/$$f"; \
            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p 
$(DESTDIR)$(bindir)/$$f; \
          else :; fi; \
@@ -289,26 +288,22 @@
 uninstall-binPROGRAMS:
        @$(NORMAL_UNINSTALL)
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
-         f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 
's/$$/$(EXEEXT)/'`"; \
+         f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
          rm -f $(DESTDIR)$(bindir)/$$f; \
        done
 
-hell$(EXEEXT): $(hell_OBJECTS) $(hell_DEPENDENCIES)
-       @rm -f hell$(EXEEXT)
+hell: $(hell_OBJECTS) $(hell_DEPENDENCIES)
+       @rm -f hell
        $(LINK) $(hell_LDFLAGS) $(hell_OBJECTS) $(hell_LDADD) $(LIBS)
 
 hell.static: $(hell_static_OBJECTS) $(hell_static_DEPENDENCIES)
        @rm -f hell.static
        $(LINK) $(hell_static_LDFLAGS) $(hell_static_OBJECTS) $(hell_static_LDADD) 
$(LIBS)
 
-hell0$(EXEEXT): $(hell0_OBJECTS) $(hell0_DEPENDENCIES)
-       @rm -f hell0$(EXEEXT)
+hell0: $(hell0_OBJECTS) $(hell0_DEPENDENCIES)
+       @rm -f hell0
        $(LINK) $(hell0_LDFLAGS) $(hell0_OBJECTS) $(hell0_LDADD) $(LIBS)
-
-helldl$(EXEEXT): $(helldl_OBJECTS) $(helldl_DEPENDENCIES)
-       @rm -f helldl$(EXEEXT)
-       $(LINK) $(helldl_LDFLAGS) $(helldl_OBJECTS) $(helldl_LDADD) $(LIBS)
 install-binSCRIPTS: $(bin_SCRIPTS)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(bindir)

Reply via email to