* Thomas Treichl <[EMAIL PROTECTED]> [2008-04-08 21:03]: > Rafael Laboissiere schrieb: >> The distclean rule in odepkg/src/Makefile should not remove the configure >> script. The patch [1] currently applied to the Debian package fixes this. >> >> [1] >> http://svn.debian.org/wsvn/pkg-octave/octave-forge-pkgs/octave-odepkg/trunk/debian/patches/makefile-distclean.diff?op=file&rev=0&sc=0 > > I checked in similiar changes and added "*.oct *~" to distclean. Is this ok? > > distclean : clean > @echo "Dist Cleaning..."; \ > $(RM) -rf *.oct *~ config.status config.log autom4te.cache Makeconf
According to the GNU Coding Standards [1], "make clean" should undo what is done by "make". On the other hand, "make distclean" should bring the sources in the same state as in the unpacked tarball. Cleaning "*.oct" should be done in the clean rule which, BTW, is already the case for odepkg: SOLVEROCTFILE = dldsolver.oct # [snip] clean : @echo "Cleaning..."; \ $(RM) -rf $(EXTERNALDIRS) $(SOLVEROBJECTS) $(SOLVEROCTFILE) [1] http://www.gnu.org/prep/standards/standards.html#Standard-Targets -- Rafael ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev