-
Notifications
You must be signed in to change notification settings - Fork 32
Remove INSTALL file from Git #478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The autoconf toolchain really likes to replace INSTALL with its own generic installation instructions, causing noise in the `git diff` output. Since the current file doesn't really have content, just remove it and add INSTALL to .gitignore.
I'm fine with this, but we can consider to add a rm -rf autom4te.cache
rm -f aclocal.m4
case `uname` in Darwin*) glibtoolize --force --copy ;;
*) libtoolize --force --copy ;; esac
autoreconf --install
autoheader
automake --add-missing --foreign --copy --force-missing
autoconf --force
rm -rf autom4te.cache |
Afaict, That's also what's documented in README (perhaps in a weird order, though). |
If INSTALL doesn't exist, then one of the Autotools will complain, as I recall as having it is a requirement of the GNU standard, if that matters to anyone. Christoph, do you have the same issue with Hamlib and its INSTALL file? |
I have not noticed the problem in hamlib, not sure what's different there. |
Can you please give some more information under which circumstances the INSTALL file will be replaced? Best would be the chain of commands which leads to the problem. I would like to reproduce and see where it comes from?. Thanks. |
Could it be related to size of the file? All Hamlib's I seem to recall that the lack of |
I guess this is the issue -- on a fresh clone
|
I see. And why do we need to do an $ autoreconf --install --force instead of an $ autoreconf --install which would be enough? Man page states explicitly that '-f' means do 'consider all files obsolete' and therefore replace them by new ones - even if not needed. |
I don't recall why I added --force to my local build script. Maybe it was needed when adding test files, not sure. |
Hmm. For adding test files a 'autoreconf -i ' should normally enough. But anyway, we now know where the problem comes from.
Moving it to INSTALL.md would conflict with the GNU standard Nate mentioned before. Any run of 'make distcheck' before release would fail. But I think at the moment we should leave it as it is. Maybe time to redraw the PR? |
Another option is to add a I wonder if the Debian tooling, in the absence of a |
The autoconf toolchain really likes to replace INSTALL with its own generic installation instructions, causing noise in the
git diff
output. Since the current file doesn't really have content, just remove it and add INSTALL to .gitignore.This has been driving me crazy ever since Debian started automatic autoreconf'ing during package builds.
Plain
autoreconf -i
doesn't trigger it, but I do run into it all the time... please consider accepting this.