kopia lustrzana https://github.com/Hamlib/Hamlib
Remove the perl/ subdirectory
It breaks "make dist", it was deprecated in favor of SWIG in
commit 59b81dfa18
and if only
the contained some Makefiles.
pull/1860/head
rodzic
e3d1ed00b7
commit
6e3b8b223d
|
@ -1,19 +0,0 @@
|
|||
use ExtUtils::MakeMaker;
|
||||
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
|
||||
# the contents of the Makefile that is written.
|
||||
WriteMakefile(
|
||||
'NAME' => 'Hamlib',
|
||||
'VERSION_FROM' => 'Hamlib.pm', # finds $VERSION
|
||||
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
|
||||
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
||||
(ABSTRACT_FROM => 'Hamlib.pm', # retrieve abstract from module
|
||||
AUTHOR => 'S. Fillod <fillods@users.sf.net>') : ()),
|
||||
# should use libtool somehow. Otherwise try -Wl,--rpath
|
||||
#'LIBS' => ['-L../../src/.libs -lhamlib'],
|
||||
'DEFINE' => '',
|
||||
#'INC' => '-I.',
|
||||
'dist' => {'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
|
||||
'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'},
|
||||
# Un-comment this if you add C files to link with later:
|
||||
# 'OBJECT' => '$(O_FILES)', # link all the C files too
|
||||
);
|
|
@ -1,30 +0,0 @@
|
|||
|
||||
# note: VPATH building does not work yet
|
||||
|
||||
Hamlib-pl.mk: $(top_srcdir)/perl/Makefile.PL
|
||||
cp -u $(top_srcdir)/perl/{Changes,MANIFEST,README.md,Hamlib.pm,Hamlib.xs,Makefile.PL,test.pl,typemap} . 2> /dev/null || exit 0
|
||||
perl Makefile.PL MAKEFILE=Hamlib-pl.mk INST_MAN3DIR=$(mandir) \
|
||||
LIB=$(libdir) CCFLAGS=$(CFLAGS) INC="$(INCLUDES)" \
|
||||
LIBS="-L$(top_builddir)/src/.libs -lhamlib"
|
||||
|
||||
all: Hamlib-pl.mk
|
||||
make -f Hamlib-pl.mk
|
||||
|
||||
test: all
|
||||
make -f Hamlib-pl.mk test
|
||||
|
||||
clean: Hamlib-pl.mk
|
||||
make -f Hamlib-pl.mk clean
|
||||
|
||||
distclean: Hamlib-pl.mk
|
||||
make -f Hamlib-pl.mk distclean
|
||||
|
||||
distcheck: Hamlib-pl.mk
|
||||
make -f Hamlib-pl.mk distcheck
|
||||
|
||||
install: Hamlib-pl.mk
|
||||
make -f Hamlib-pl.mk install
|
||||
|
||||
EXTRA_DIST = Changes MANIFEST README.md Hamlib.pm Hamlib.xs Makefile.PL \
|
||||
test.pl typemap
|
||||
|
Ładowanie…
Reference in New Issue