summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorjoshua stein <jcs@jcs.org>2019-12-20 15:35:49 -0600
committerAndreas Kling <awesomekling@gmail.com>2019-12-20 23:55:08 +0100
commit23158aef2e35af8ecf503128a2aaa999acf8a1ac (patch)
treef9cead800f22108aa31dea66a650de9ef12f707e /Applications
parent44bc4008b76e4480490a976d12665c3697f2c85b (diff)
downloadserenity-23158aef2e35af8ecf503128a2aaa999acf8a1ac.zip
Build: only setup git defines for About application
Diffstat (limited to 'Applications')
-rwxr-xr-xApplications/About/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Applications/About/Makefile b/Applications/About/Makefile
index 7c830c994f..be5c34c9f6 100755
--- a/Applications/About/Makefile
+++ b/Applications/About/Makefile
@@ -5,4 +5,6 @@ PROGRAM = About
LDFLAGS = -lgui -ldraw -lipc -lcore -lc
+DEFINES += -DGIT_COMMIT=\"`git rev-parse --short HEAD`\" -DGIT_BRANCH=\"`git rev-parse --abbrev-ref HEAD`\" -DGIT_CHANGES=\"`git diff-index --quiet HEAD -- && echo "tracked"|| echo "untracked"`\"
+
include ../../Makefile.common