Quoting from Eric S. Raymond's mail on Thu, Jun 20, 2002 at 11:44:11PM -0400:
* Matthias Andree's patches to:
(b) improve distclean,
The FAQ file in the distribution was empty. (ok, it had one line...
big deal.) Not sure if this was a temporary problem. "rm -f FAQ; make
distdocs" regenerated it perfectly.
However, I think that either distclean should be further improved or
dist should depend on realclean and not just distclean.
I'll take a patch from you.
Here is a patch which makes dist depend on realclean and improves
realclean. I think it should work fine. Then, the previous patch to
improve distclean should not be required.
===================================================================
diff -Naur fetchmail-5.9.12.orig/Makefile.in fetchmail-5.9.12/Makefile.in
--- fetchmail-5.9.12.orig/Makefile.in Wed Jun 5 00:28:55 2002
+++ fetchmail-5.9.12/Makefile.in Fri Jun 21 10:35:40 2002
@@ -200,6 +200,7 @@
realclean: distclean
-rm -f FAQ FEATURES NOTES MANIFEST
-rm -f config.cache config.log Makefile
+ -rm -f config.h config.status stamp-config
-rm -f fetchmail-*.tar.gz fetchmail-*.i386.rpm
mostlyclean: clean
@@ -304,7 +305,7 @@
# Make distribution, update LSM with proper size, remake distribution
# (Making fetchmail-man.html is a kluge to ensure that it will be
# available when I upload the distribution.)
-dist: distclean MANIFEST Makefile.in distdocs
+dist: realclean MANIFEST Makefile.in distdocs
touch fetchmail.lsm
make fetchmail-$(VERSION).tar.gz
lsmgen.py $(VERSION) `wc -c fetchmail-$(VERSION).tar.gz` >fetchmail.lsm
===================================================================
Sunil Shetye.