Skip to content

Commit fbc6c4e

Browse files
committed
move included into lib/OpenGL/Modern
1 parent b938a0f commit fbc6c4e

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ lib/OpenGL/Modern.c
1313
lib/OpenGL/Modern/Const.c
1414
*.inc
1515
*~
16-
const.h
16+
lib/OpenGL/Modern/const.h

MANIFEST

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
Changes
2-
gl_errors.h
3-
glew-context.c
42
glew.c
53
include/GL/eglew.h
64
include/GL/glew.h
@@ -11,13 +9,15 @@ lib/OpenGL/Modern.pod
119
lib/OpenGL/Modern.xs
1210
lib/OpenGL/Modern/Const.pm
1311
lib/OpenGL/Modern/Const.xs
12+
lib/OpenGL/Modern/gl_errors.h
13+
lib/OpenGL/Modern/glew-context.c
1414
lib/OpenGL/Modern/Helpers.pm
1515
lib/OpenGL/Modern/ImageHack.pm
16+
lib/OpenGL/Modern/ppport.h
1617
lib/OpenGL/Modern/Registry.pm
1718
Makefile.PL
1819
MANIFEST This list of files
1920
MANIFEST.SKIP
20-
ppport.h
2121
README.md
2222
t/00-report-prereqs.t
2323
t/00_basic.t

MANIFEST.SKIP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ gdm.diff
2020
^MYMETA.*
2121
\.pm\.bak$
2222
\.inc$
23-
^const\.h$
23+
^lib/OpenGL/Modern/const\.h$
2424
~$

Makefile.PL

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
33
use Devel::CheckLib 'assert_lib';
44
use Config;
55

6-
my $include = "-I. -Iinclude";
6+
my $include = "-Ilib/OpenGL/Modern -Iinclude";
77
my $libs;
88
my $define = "-DGLEW_NO_GLU -DGLEW_STATIC";
99
my $DYNS;
@@ -67,10 +67,10 @@ WriteMakefile(
6767
},
6868
},
6969
depend => {
70-
'lib/OpenGL/Modern$(OBJ_EXT)' => 'glew-context.c include/GL/glew.h include/GL/wglew.h gl_errors.h auto-xs.inc', # last is not accurate but forced by XSMULTI which has no intermediate .c target
71-
'lib/OpenGL/Modern/Const$(OBJ_EXT)' => 'include/GL/glew.h include/GL/wglew.h const.h',
70+
'lib/OpenGL/Modern$(OBJ_EXT)' => 'lib/OpenGL/Modern/glew-context.c include/GL/glew.h include/GL/wglew.h lib/OpenGL/Modern/gl_errors.h auto-xs.inc', # last is not accurate but forced by XSMULTI which has no intermediate .c target
71+
'lib/OpenGL/Modern/Const$(OBJ_EXT)' => 'include/GL/glew.h include/GL/wglew.h lib/OpenGL/Modern/const.h',
7272
},
73-
clean => { FILES => 'auto-xs.inc const.h lib/OpenGL/Modern/Config.pm' },
73+
clean => { FILES => 'auto-xs.inc lib/OpenGL/Modern/const.h lib/OpenGL/Modern/Config.pm' },
7474
%buildargs,
7575
);
7676

@@ -87,7 +87,7 @@ sub postamble {
8787
auto-xs.inc : $deps
8888
\t\$(PERLRUN) -Ilib utils/generate-XS.pl
8989
90-
const.h : lib/OpenGL/Modern/Registry.pm
90+
lib/OpenGL/Modern/const.h : lib/OpenGL/Modern/Registry.pm
9191
\t$const_cmd >\$@
9292
EOF
9393
}
@@ -96,7 +96,7 @@ sub init_PM {
9696
$eumm->SUPER::init_PM;
9797
my $pm = $eumm->{PM};
9898
delete @$pm{grep /(?:\.(?:c|xs|bs)|\Q$::Config{obj_ext}\E)$/, keys %$pm};
99-
delete @$pm{grep /\.pl$/, keys %$pm};
99+
delete @$pm{grep /\.(?:pl|h)$/, keys %$pm};
100100
}
101101
}
102102

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)