redundant files in the source tree

View: New views
1 Messages — Rating Filter:   Alert me  

redundant files in the source tree

by Ralf Hemmecke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

in trunk/aldor/contrib/gmp/Makefile

one finds

#
# Rules to get the common source files (as links or copies)
#
axlport.h: $(SRC)/axlport.h ; ( $(RM) $@ ; $(LN) $? $@ )
platform.h: $(SRC)/platform.h ; ( $(RM) $@ ; $(LN) $? $@ )
...
output.c: $(SRC)/output.c ; ( $(RM) $@ ; $(LN) $? $@ )
store.c: $(SRC)/store.c ; ( $(RM) $@ ; $(LN) $? $@ )

So all of these files are generated from the original sources, if they
are not available. Yet many (all?) are in the SVN tree.

Edit the Makefile to contain

svnclean:
        svn rm $(FOAMH) $(FOAMC)

then call

make svnclean
svn revert Makefile
svn commit

That should solve the redundancy problem.

Could somebody with write access commit that?

Thanks
Ralf


_______________________________________________
Aldor-l mailing list
Aldor-l@...
http://aldor.org/mailman/listinfo/aldor-l_aldor.org
LightInTheBox - Buy quality products at wholesale price