]> granicus.if.org Git - php/commitdiff
Rename skeleton stub file
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 6 Jan 2020 13:43:05 +0000 (14:43 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 6 Jan 2020 13:43:29 +0000 (14:43 +0100)
Add the .php suffix

ext/ext_skel.php
ext/skeleton/skeleton.stub.php [moved from ext/skeleton/skeleton.stub with 100% similarity]

index 58199f4d8cb8192c4232471587793bcfb86f8d99..43734a2a6762cc7d1b575262ec8cfe02a9fd9427 100755 (executable)
@@ -144,7 +144,7 @@ function print_success() {
 
        printf('%1$sSuccess. The extension is now ready to be compiled. To do so, use the%s', PHP_EOL);
        printf('following steps:%1$s%1$s', PHP_EOL);
-       printf('cd /path/to/php-src/%s%s', $options['ext'], PHP_EOL);
+       printf('cd /path/to/php-src/ext/%s%s', $options['ext'], PHP_EOL);
        printf('phpize%s', PHP_EOL);
        printf('%sconfigure%s', $file_prefix, PHP_EOL);
        printf('%smake%2$s%2$s', $make_prefix, PHP_EOL);
@@ -330,7 +330,7 @@ function copy_sources() {
 
        $files = [
                        'skeleton.c'            => $options['ext'] . '.c',
-                       'skeleton.stub'         => $options['ext'] . '.stub.php',
+                       'skeleton.stub.php'     => $options['ext'] . '.stub.php',
                        'php_skeleton.h'        => 'php_' . $options['ext'] . '.h'
                        ];