cvs commit: ALFS/docs/syntax_doc Makefile

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri Apr 2 14:22:07 PST 2004


jwrober     04/04/02 15:22:07

  Modified:    docs/syntax_doc Makefile
  Log:
  dist-clean fix
  
  Revision  Changes    Path
  1.12      +11 -3     ALFS/docs/syntax_doc/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/Makefile,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Makefile	2 Apr 2004 22:07:15 -0000	1.11
  +++ Makefile	2 Apr 2004 22:22:07 -0000	1.12
  @@ -11,9 +11,17 @@
   	fi;
   
   dist-clean: clean
  -	rm *.bz2
  -	rm *.html
  -	rm *.txt
  +	if [ -e *.bz2 ]; then \
  +	  rm *.bz2; \
  +	fi;
  +
  +	if [ -e *.html ]; then \
  +	  rm *.html; \
  +	fi;
  +
  +	if [ -e *.txt ]; then \
  +	  rm *.txt; \
  +	fi;
   
   common: clean
   	if [ ! -e $(OUTDIR) ]; then \
  
  
  



More information about the alfs-log mailing list