mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7004] Fixed generating makefile.am in git_id
This commit is contained in:
parent
c08ed13497
commit
1896ace8ff
2 changed files with 11 additions and 5 deletions
|
|
@ -610,8 +610,11 @@ bool generate_sql_makefile()
|
||||||
sql_update_dir, sql_update_dir
|
sql_update_dir, sql_update_dir
|
||||||
);
|
);
|
||||||
|
|
||||||
for(std::set<std::string>::iterator itr = file_list.begin(); itr != file_list.end(); ++itr)
|
for(std::set<std::string>::iterator itr = file_list.begin(), next; itr != file_list.end(); ++itr)
|
||||||
fprintf(fout, "\t%s \\\n", itr->c_str());
|
{
|
||||||
|
next = itr; ++next;
|
||||||
|
fprintf(fout, "\t%s %s\n", itr->c_str(), next == file_list.end() ? "" : "\\");
|
||||||
|
}
|
||||||
|
|
||||||
fprintf(fout,
|
fprintf(fout,
|
||||||
"\n## Additional files to include when running 'make dist'\n"
|
"\n## Additional files to include when running 'make dist'\n"
|
||||||
|
|
@ -619,8 +622,11 @@ bool generate_sql_makefile()
|
||||||
"EXTRA_DIST = \\\n"
|
"EXTRA_DIST = \\\n"
|
||||||
);
|
);
|
||||||
|
|
||||||
for(std::set<std::string>::iterator itr = file_list.begin(); itr != file_list.end(); ++itr)
|
for(std::set<std::string>::iterator itr = file_list.begin(), next; itr != file_list.end(); ++itr)
|
||||||
fprintf(fout, "\t%s \\\n", itr->c_str());
|
{
|
||||||
|
next = itr; ++next;
|
||||||
|
fprintf(fout, "\t%s %s\n", itr->c_str(), next == file_list.end() ? "" : "\\");
|
||||||
|
}
|
||||||
|
|
||||||
fclose(fout);
|
fclose(fout);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7003"
|
#define REVISION_NR "7004"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue