1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Generates proxy Makefile

This commit is contained in:
Yury Delendik 2012-08-27 14:17:29 -05:00
parent d77bafa678
commit f4b677a039
2 changed files with 11 additions and 0 deletions

10
make.js
View file

@ -789,3 +789,13 @@ target.clean = function() {
rm('-rf', BUILD_DIR);
};
//
// make makefile
//
target.makefile = function() {
var makefileContent = 'help:\n\tnode make\n\n';
for (var i in target) {
makefileContent += i + ':\n\tnode make ' + i + '\n\n';
}
makefileContent.to('Makefile');
};