Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nigel Kukard
smradius
Commits
a7b6aa73
Commit
a7b6aa73
authored
Sep 12, 2016
by
Nigel Kukard
Browse files
Better 3rd party module support
parent
d280dd03
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitmodules
View file @
a7b6aa73
...
...
@@ -2,6 +2,6 @@
path = webgui/awitef
url = https://gitlab.devlabs.linuxassist.net/awit-frameworks/awit-extjs-framework.git
[submodule "awitpt"]
path =
ext
/awitpt
path =
3rdparty
/awitpt
url = https://gitlab.devlabs.linuxassist.net/awit-frameworks/awit-perl-toolkit.git
branch = v1.0.x
3rdparty/Makefile.PL
0 → 100644
View file @
a7b6aa73
my
@additionalDirs
=
();
# Makefile
# Copyright (C) 2014-2016, AllWorldIT
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use
strict
;
use
warnings
;
use
ExtUtils::
MakeMaker
;
use
File::
Find
;
find
(
{
wanted
=>
sub
{
if
(
/^Makefile.PL$/
)
{
my
$dirname
=
$
File::Find::
dir
;
if
(
$dirname
ne
"
.
")
{
$dirname
=~
s,\./,,
;
push
(
@additionalDirs
,
$dirname
);
}
};
},
bydepth
=>
1
,
},
"
.
",
);
WriteMakefile
(
'
NAME
'
=>
'
SMRadius-3rdParty
',
'
DIR
'
=>
\
@additionalDirs
,
);
# vim: ts=4
awitpt
@
201569f9
Subproject commit
56f2745a2086b8f57e3fbc853a01e9e3a3558e8f
Subproject commit
201569f905bade5bf06cb06866dcd54f6b99c100
Makefile.PL
View file @
a7b6aa73
# Makefile
# Copyright (C) 2014, AllWorldIT
# Copyright (C) 2014
-2016
, AllWorldIT
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -15,19 +15,31 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use
strict;
use
warnings;
use ExtUtils
::
MakeMaker;
use File
::
Find;
WriteMakefile(
'NAME'
=>
'
AWITPT
'
,
'NAME'
=>
'
SMRadius
'
,
'VENDORPREFIX'
=>
'/opt/smradius'
,
'INSTALLDIRS'
=>
'vendor'
,
'VERSION_FROM'
=>
"lib/smradius/version.pm"
,
'DIR'
=>
[
"3rdparty"
],
'EXE_FILES'
=>
[qw(
bin/smradiusd
bin/smadmin
bin/smradclient
)],
);
# vim: ts=4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment