diff options
Diffstat (limited to 'RadeonHD.am')
-rw-r--r-- | RadeonHD.am | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/RadeonHD.am b/RadeonHD.am deleted file mode 100644 index 5c12cf6..0000000 --- a/RadeonHD.am +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | # Copyright (c) 2007 Hans Ulrich Niedermann <hun@n-dimensional.de> | ||
2 | # | ||
3 | # This Makefile fragment is free software; the author(s) give(s) | ||
4 | # unlimited permission to copy, distribute and modify it. | ||
5 | |||
6 | # The stamp file which is never created ensures that git_version.h is updated | ||
7 | # before every build. Having git_version.h in foo_SOURCES ensures a recompile | ||
8 | # of foo-bar.c if it is newer than the foo-bar.o file. Using noinst_foo_SOURCES | ||
9 | # instead of foo_SOURCES prevents shipping git_version.h in dist tarballs, | ||
10 | # which may cause false GIT_FOO readings. | ||
11 | BUILT_SOURCES += git_version.stamp | ||
12 | CLEANFILES += git_version.h | ||
13 | GIT_VERSION_CMD = $(SHELL) $(top_srcdir)/git_version.sh | ||
14 | git_version.stamp: | ||
15 | @if test -f "$(srcdir)/git_version.h"; then \ | ||
16 | if test -f "git_version.h"; then :; \ | ||
17 | else \ | ||
18 | cp "$(srcdir)/git_version.h" "git_version.h"; \ | ||
19 | fi; \ | ||
20 | fi | ||
21 | $(GIT_VERSION_CMD) -k -s $(top_srcdir) -o git_version.h | ||
22 | @if test -s "$(srcdir)/git_version.h"; then \ | ||
23 | if cmp "$(srcdir)/git_version.h" "git_version.h"; then :; \ | ||
24 | else \ | ||
25 | echo "Error: $(srcdir)/git_version.h and git_version.h differ."; \ | ||
26 | echo " You probably want to remove the former."; \ | ||
27 | exit 1; \ | ||
28 | fi; \ | ||
29 | fi | ||
30 | |||
31 | dist-hook: git_version.stamp | ||
32 | if test -f "git_version.h"; then \ | ||
33 | $(SED) -e 's|^#undef GIT_IS_DIST.*|#define GIT_IS_DIST 1|' \ | ||
34 | "git_version.h" > "$(distdir)/git_version.h"; \ | ||
35 | fi | ||