Commit 8c4d67a2f47c7037db26bd378a9690f6f2af5c96
Force utils.c and version.c recompile on each make
This time for *nix makefiles.
Author: xaizek
Author date (UTC): 2011-11-12 20:54
Committer name: xaizek
Committer date (UTC): 2011-11-12 20:54
Parent(s): f6fb44fc76a8b84ecbc55c62dd8de361564f8e4e
Signing key:
Tree: 125ea543dc7fd20b4671ec0a36af3ec1e5b9074d
File src/Makefile.am changed (mode: 100644) (index 0c1e2e717..3d4540a8e) |
1 |
1 |
## Process this file with automake to produce Makefile.in |
## Process this file with automake to produce Makefile.in |
2 |
2 |
|
|
|
3 |
|
.PHONY: utils.c version.c |
|
4 |
|
|
3 |
5 |
pkgdata_DATA = ../data/vifmrc \ |
pkgdata_DATA = ../data/vifmrc \ |
4 |
6 |
../data/vifm-help.txt |
../data/vifm-help.txt |
5 |
7 |
|
|
File src/Makefile.in changed (mode: 100644) (index de156a74e..01c6c7ed3) |
... |
... |
uninstall-man: uninstall-man1 |
758 |
758 |
uninstall-man1 uninstall-pkgdataDATA |
uninstall-man1 uninstall-pkgdataDATA |
759 |
759 |
|
|
760 |
760 |
|
|
|
761 |
|
.PHONY: utils.c version.c |
|
762 |
|
|
761 |
763 |
version.c: |
version.c: |
762 |
764 |
if [ "x$$(whereis git)" != "x" ] ; then \ |
if [ "x$$(whereis git)" != "x" ] ; then \ |
763 |
765 |
echo -n 'const char GIT_HASH[] = "' > version.c; \ |
echo -n 'const char GIT_HASH[] = "' > version.c; \ |