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
Hamlib-1.1.3
Stéphane Fillod, F8CFE 2002-02-12 22:11:52 +00:00
rodzic 70236eef81
commit aef5901687
1 zmienionych plików z 21 dodań i 1 usunięć

Wyświetl plik

@ -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