[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA: Issues with makefiles. . . . .



Hi gEDA developers --

I have been working on incorporating gattrib into the top level gEDA
Makefile system.  While testing gEDA's top level Makefile, I have
encountered the following questions:

1.  In docs/<subdirectories>, the Makefile.am contains the following
construct:

uninstall-hook:
        ( cd $(docname) ; $(INSTALL) -d $(DESTDIR)$(docsdir); \
          for i in *; do \
                -rm -f $(DESTDIR)$(docsdir)/$$i; \
          done; \
          rmdir $(DESTDIR)$(docsdir) )

Where "-rm" is called out instead of "rm" to remove the files.  "-rm"
also occurs in other places in other docs dirs.  This construct can
cause "make uninstall" to barf, since it doesn't remove any files from
the target dir, and then rmdir fails because the target dir is not
empty.    

Question:  Is this intended, or is "-rm" a bug.  It appears in lots of
places in the docs dir.

2.  Ales -- if it's a bug, do you mind if I fix it in CVS?  I am not
this directory's primary author, and I just want to make sure I'm not 
stepping on any toes by working on other people's stuff.

3.  Ales -- do you mind if I stick the new top level gEDA Makefile
into CVS once I test it out?  When I am done, the new Makefile will
make & install gattrib along with all the other tools.  If you prefer, I
can send it to you & you can check it out first.  Again, I am
just trying to not step on toes . . . . . 

Thanks for your answers,

Stuart