Skip to content

Commit

Permalink
Move files in misc/ to resources/ and dev/.
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Nov 14, 2010
1 parent 1fe7b1e commit 1d19a86
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
10 changes: 6 additions & 4 deletions DEVELOPERS.TXT
Expand Up @@ -45,6 +45,8 @@ The most important directories are:
Source code shared by the Apache and Nginx modules.
[ bin ]
User executables.
[ helper-scripts ]
Scripts used during runtime, but not directly executed by the user.
[ doc ]
Various documentation.
[ test ]
Expand All @@ -63,14 +65,14 @@ Less important directories:
functionality necessary for writing robust server software. It provides
things like support for interruptable system calls and portable backtraces
for C++. Boost was modified to make use of the functionality provided by OXT.
[ benchmark ]
Benchmark tools.
[ dev ]
Tools for Phusion Passenger developers. Not used during production.
[ resources ]
Various resource files, used during production.
[ debian ]
Debian packaging files.
[ man ]
Man pages.
[ misc ]
Miscellaneous tools.
[ build ]
Rake tasks used by the build system.

Expand Down
2 changes: 1 addition & 1 deletion build/packaging.rb
Expand Up @@ -144,7 +144,7 @@
sh "cp #{APACHE2_MODULE} #{fake_apache2_module_dir}/"

sh "mkdir -p #{fake_certificates_dir}"
sh "cp misc/*.crt #{fake_certificates_dir}/"
sh "cp resources/*.crt #{fake_certificates_dir}/"

sh "mkdir -p #{fake_source_root}"
spec.files.each do |filename|
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ext/common/ResourceLocator.h
Expand Up @@ -74,7 +74,7 @@ class ResourceLocator {
if (nativelyPackaged) {
return "/usr/share/phusion-passenger/certificates";
} else {
return root + "/misc";
return root + "/resources";
}
}
};
Expand Down
3 changes: 2 additions & 1 deletion lib/phusion_passenger/packaging.rb
Expand Up @@ -85,7 +85,8 @@ module Packaging
'ext/oxt/*.cpp',
'ext/oxt/detail/*.hpp',
'ext/ruby/*.{c,rb}',
'misc/*',
'dev/*',
'resources/*',
'test/*.example',
'test/support/*.{cpp,h,rb}',
'test/tut/*',
Expand Down
2 changes: 1 addition & 1 deletion lib/phusion_passenger/standalone/start_command.rb
Expand Up @@ -157,7 +157,7 @@ def parse_my_options
wrap_desc("The spawn method to use (default: #{@options[:spawn_method]})")) do |value|
@options[:spawn_method] = value
end
opts.on("--union-station-key", String,
opts.on("--union-station-key KEY", String,
wrap_desc("Specify Union Station key")) do |value|
@options[:union_station_key] = value
end
Expand Down
File renamed without changes.

0 comments on commit 1d19a86

Please sign in to comment.