Skip to content

Commit ba25d42

Browse files
drewaogleDrew Ogle
andauthored
Install version header file
Co-authored-by: Drew Ogle <[email protected]>
1 parent f053c10 commit ba25d42

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

SConstruct

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,5 +226,12 @@ env.Alias('install',
226226
source=Glob("include/util/" + "*.h")),
227227
)
228228

229+
env.Alias('install',
230+
env.Command(target=os.path.join(prefix, "include/aperturedb/version.h"),
231+
source="src/aperturedb/version.h",
232+
action="sed 's/VDMS_VER/APERTUREDB_CPP_VER/g' $SOURCE > $TARGET"
233+
)
234+
)
235+
229236
SConscript(os.path.join('tools/prometheus_ambassador', 'SConscript'), exports=['env'])
230237
SConscript(os.path.join('tools/send_query', 'SConstruct'), exports=['env'])

0 commit comments

Comments
 (0)