From aef5901687d00d1556df62852dbab5a424ae7405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Tue, 12 Feb 2002 22:11:52 +0000 Subject: [PATCH] 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 --- perl/Makefile.am | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/perl/Makefile.am b/perl/Makefile.am index 2c507113b..84f028aef 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -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 +