Skip to content

Commit

Permalink
wscript: fix dist target generation of gitversion.h
Browse files Browse the repository at this point in the history
  • Loading branch information
nedko committed Nov 17, 2023
1 parent a9be0ba commit f21047c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,6 @@ def build(bld):

bld.install_files(os.path.join(bld.env['MANDIR'], 'man1'), man_pages)

def dist_hook():
def dist(bld):
os.system('./gitversion_regenerate.sh gitversion.h')
os.remove('gitversion_regenerate.sh')
os.system('../gitversion_regenerate.sh gitversion.h')

0 comments on commit f21047c

Please sign in to comment.