mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
Use a more portable way to generate authors.c.
This commit is contained in:
parent
e617a9c528
commit
12d3d81cbd
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ shell.spec.c: shell.spec version16.res
|
|||
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/shell.spec
|
||||
|
||||
authors.c: $(TOPSRCDIR)/AUTHORS
|
||||
sed -e '1,2c const char * const SHELL_Authors[] = {' -e 's/\(.*\)/ \"\1\",/' -e '$$a\ 0 };' $(TOPSRCDIR)/AUTHORS >$@ || ($(RM) $@ && false)
|
||||
(echo 'const char * const SHELL_Authors[] = {' && \
|
||||
sed -e '1,2d' -e 's/\(.*\)/ \"\1\",/' $(TOPSRCDIR)/AUTHORS && \
|
||||
echo ' 0 };') >$@ || ($(RM) $@ && false)
|
||||
|
||||
depend: authors.c
|
||||
|
||||
|
|
Loading…
Reference in a new issue