solbu / hldig

hl://Dig is a fork of ht://Dig, a web indexing and searching system for a small domain or intranet
https://solbu.github.io/hldig/
Other
18 stars 21 forks source link

.gitignore:remove autom4te.cache [skip ci] #108

Closed andy5995 closed 6 years ago

andy5995 commented 6 years ago

This fixes the problem where in some cases, running make will cause an error that it can't find autoheader

More info here and in the comments at the bottom:

https://github.com/theimpossibleastronaut/rmw/commit/90200c2df06b16f16b5d21d25c51966c0ee65b23

After this patch is applied, the maintainer should push that directory and files within to the master branch. xD

solbu commented 6 years ago

Uhm, this needs some explaning. Generated cached files do not belong in revision control, which is what .gitignore is preventing.

andy5995 commented 6 years ago

Generated cached files do not belong in revision control, which is what .gitignore is preventing.

I tend to agree, I don't see why those cache files should be needed, but it's the only solution I know of right now.

You can see the problem the user had making rmw.. adding those files fixed it for him. I then tried another of my projects on a clean system, that only had the Debian build-essential package installed (no autoconf, automake).. had the exact same problem.

I think only maintainers should need the autotools installed. But do as you like with this, I don't know of a better solution at this moment.

solbu commented 6 years ago

The fix is to install autoconf and automake. This is a user error. :-)