mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
integration of Perl build with autotools. VPATH still not okay
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@955 7ae35d74-ebe9-4afe-98af-79ac388436b8
This commit is contained in:
parent
70236eef81
commit
aef5901687
@ -1,5 +1,9 @@
|
||||
|
||||
Hamlib/Makefile: Hamlib/Makefile.PL
|
||||
# note: VPATH building does not work yet
|
||||
|
||||
Hamlib/Makefile: $(top_srcdir)/perl/Hamlib/Makefile.PL
|
||||
mkdir -p Hamlib
|
||||
cp -u $(top_srcdir)/perl/Hamlib/{Changes,MANIFEST,README,Hamlib.pm,Hamlib.xs,Makefile.PL,test.pl,typemap} Hamlib/. 2> /dev/null || exit 0
|
||||
cd Hamlib && perl Makefile.PL
|
||||
|
||||
all: Hamlib/Makefile
|
||||
@ -8,3 +12,19 @@ all: Hamlib/Makefile
|
||||
test: all
|
||||
make -C Hamlib test
|
||||
|
||||
clean: Hamlib/Makefile
|
||||
make -C Hamlib clean
|
||||
|
||||
distclean: Hamlib/Makefile
|
||||
make -C Hamlib distclean
|
||||
|
||||
distcheck: Hamlib/Makefile
|
||||
make -C Hamlib distcheck
|
||||
|
||||
install: Hamlib/Makefile
|
||||
make -C Hamlib install
|
||||
|
||||
EXTRA_DIST = Hamlib/Changes Hamlib/MANIFEST Hamlib/README \
|
||||
Hamlib/Hamlib.pm Hamlib/Hamlib.xs Hamlib/Makefile.PL \
|
||||
Hamlib/test.pl Hamlib/typemap
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user