summaryrefslogtreecommitdiffstats
path: root/build-helpers
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-23 04:15:34 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:52 +0200
commit2fb1284f1c5ca2f7f497196dfd9e24456f824298 (patch)
treeaac0adb0cb38c456daf0d4725af8ff8c46d230bb /build-helpers
parente59438609cbb3cb7f1bc8a59518d545ea847c024 (diff)
downloadnbb-2fb1284f1c5ca2f7f497196dfd9e24456f824298.tar.gz
nbb-2fb1284f1c5ca2f7f497196dfd9e24456f824298.tar.xz
nbb-2fb1284f1c5ca2f7f497196dfd9e24456f824298.zip
Do not generate unused package version header
Diffstat (limited to 'build-helpers')
-rw-r--r--build-helpers/package-version.mk13
1 files changed, 0 insertions, 13 deletions
diff --git a/build-helpers/package-version.mk b/build-helpers/package-version.mk
index 4b191c5..2d4b678 100644
--- a/build-helpers/package-version.mk
+++ b/build-helpers/package-version.mk
@@ -43,16 +43,3 @@ git-version-check-news:
git-version-stamp:
echo "$(PACKAGE_VERSION)" > "$(distdir)/version-stamp"
-# Update *.h file to contain up-to-date version number
-A_V = package-version-internal
-CLEANFILES += $(A_V).h
-BUILT_SOURCES += $(A_V).h.stamp
-$(A_V).h.stamp:
- @current_ver=`$(SHELL) $(top_srcdir)/$(BUILD_SCRIPT_DIR)/package-version $(top_srcdir) version-stamp`; \
- { echo '#ifndef PACKAGE_VERSION_INTERNAL_H'; \
- echo "#define PACKAGE_VERSION_INTERNAL \"$${current_ver}\""; \
- echo "#endif /* !PACKAGE_VERSION_INTERNAL */"; } > "$(A_V).h.new"
- @if test -f "$(A_V).h" \
- && cmp "$(A_V).h.new" "$(A_V).h"; then :; \
- else cat "$(A_V).h.new" > "$(A_V).h"; fi; \
- rm -f "$(A_V).h.new"