This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Delete bfd/po/{SRC,BLD}-POTFILES.in from CVS?


Hi Alan,

> >   distclean: clean
> >   	rm -f Makefile Makefile.in *.mo *.msg *.cat *.cat.m
> > ! 	rm -f SRC-POTFILES BLD-POTFILES @MAINT@ SRC-POTFILES.in	BLD-POTFILES.in
> >   
> >   maintainer-clean: distclean
> >   	@echo "This command is intended for maintainers to use;"
> > 
> 
> Wouldn't it be cleaner to just remove them as part of
> "maintainer-clean"?

Yes :-)

> Or not at all, since other dirs don't seem to remove POTFILES.in?

Hmm, and just rely on the maintainers makefile to rebuild them ?

This seems slightly contrary to the "maintainer-clean" target's
objective of removing all files that can be constructed from
other files.  I think that moving the target would be better, but I am
open to persuasion.  Why don't other distributions delete their
POTFILES.in files as part of a maintainer clean ?


Cheers
        Nick

PS. In the meantime here is a proposed patch to move the deletions
into the maintainer-clean rule.


2001-11-20  Nick Clifton  <nickc@cambridge.redhat.com>

	* po/Make-in (distclean): Move SRC-POTFILES.in and
	BLD-POTFILES.in to maintainer-clean target.

Index: bfd/po/Make-in
===================================================================
RCS file: /cvs/src/src/bfd/po/Make-in,v
retrieving revision 1.3
diff -p -c -r1.3 Make-in
*** Make-in	2001/06/10 05:21:00	1.3
--- Make-in	2001/11/20 14:14:59
*************** clean: mostlyclean
*** 205,216 ****
  
  distclean: clean
  	rm -f Makefile Makefile.in *.mo *.msg *.cat *.cat.m
! 	rm -f SRC-POTFILES BLD-POTFILES SRC-POTFILES.in	BLD-POTFILES.in
  
  maintainer-clean: distclean
  	@echo "This command is intended for maintainers to use;"
  	@echo "it deletes files that may require special tools to rebuild."
! 	rm -f $(GMOFILES)
  
  distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
  dist distdir: update-po $(DISTFILES)
--- 205,216 ----
  
  distclean: clean
  	rm -f Makefile Makefile.in *.mo *.msg *.cat *.cat.m
! 	rm -f SRC-POTFILES BLD-POTFILES 
  
  maintainer-clean: distclean
  	@echo "This command is intended for maintainers to use;"
  	@echo "it deletes files that may require special tools to rebuild."
! 	rm -f $(GMOFILES) SRC-POTFILES.in BLD-POTFILES.in
  
  distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
  dist distdir: update-po $(DISTFILES)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]