Commit 12d3d81c authored by Alexandre Julliard's avatar Alexandre Julliard

Use a more portable way to generate authors.c.

parent e617a9c5
...@@ -75,7 +75,9 @@ shell.spec.c: shell.spec version16.res ...@@ -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 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/shell.spec
authors.c: $(TOPSRCDIR)/AUTHORS 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 depend: authors.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment