Removed the old perl targets. The only thing we need to do for the perl
subdirectoy is make a symlink from `$(srcdir)/features.def' to `$(builddir)/perl/features.def'.
This commit is contained in:
15
Makefile.am
15
Makefile.am
@@ -21,8 +21,7 @@ DIST_SUBDIRS = po intl support macros include sysdeps src lib guile examples
|
|||||||
include_HEADERS = glibtop.h
|
include_HEADERS = glibtop.h
|
||||||
|
|
||||||
EXTRA_DIST = autogen.sh libgtop.spec copyright.txt libgtopConf.sh.in \
|
EXTRA_DIST = autogen.sh libgtop.spec copyright.txt libgtopConf.sh.in \
|
||||||
LIBGTOP-VERSION features.def perl/Makefile.PL.in perl/perl.awk \
|
LIBGTOP-VERSION features.def libgtop-config.in RELNOTES-0.25
|
||||||
perl/MANIFEST perl/Changes libgtop-config.in RELNOTES-0.25
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
|
$(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
|
||||||
@@ -34,8 +33,7 @@ confexec_DATA = $(top_builddir)/libgtopConf.sh
|
|||||||
|
|
||||||
bin_SCRIPTS = $(top_builddir)/libgtop-config
|
bin_SCRIPTS = $(top_builddir)/libgtop-config
|
||||||
|
|
||||||
noinst_DATA = $(top_builddir)/perl/Libgtop.xs \
|
noinst_DATA = $(top_builddir)/perl/features.def
|
||||||
$(top_builddir)/perl/Names/Names.xs
|
|
||||||
|
|
||||||
## to automatically rebuild aclocal.m4 if any of the macros in
|
## to automatically rebuild aclocal.m4 if any of the macros in
|
||||||
## `macros/' change
|
## `macros/' change
|
||||||
@@ -82,10 +80,5 @@ libgtop-config: libgtop-config.in Makefile
|
|||||||
&& mv libgtop-config.tmp libgtop-config && \
|
&& mv libgtop-config.tmp libgtop-config && \
|
||||||
chmod 755 libgtop-config
|
chmod 755 libgtop-config
|
||||||
|
|
||||||
perl/Libgtop.xs: perl/perl.awk $(top_builddir)/config.h $(top_srcdir)/features.def
|
perl/features.def: features.def
|
||||||
$(AWK) -f $(top_srcdir)/perl/perl.awk < $(top_srcdir)/features.def > perl/lgt-t
|
cd perl && @LN_S@ $(srcdir)/features.def
|
||||||
mv perl/lgt-t perl/Libgtop.xs
|
|
||||||
|
|
||||||
perl/Names/Names.xs: perl/Names/names.awk $(top_builddir)/config.h $(top_srcdir)/features.def
|
|
||||||
$(AWK) -f $(top_srcdir)/perl/Names/names.awk < $(top_srcdir)/features.def > perl/Names/lgtn-t
|
|
||||||
mv perl/Names/lgtn-t perl/Names/Names.xs
|
|
||||||
|
Reference in New Issue
Block a user