From 70d669c8115683dba3d5986c4bb8fdaa0bca9016 Mon Sep 17 00:00:00 2001 From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE> Date: Fri, 28 Nov 2003 23:00:06 +0000 Subject: [PATCH] Demo-tarball and libtool.alberta. --- Makefile.am | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Makefile.am b/Makefile.am index d72aada..afb2a00 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,6 +7,29 @@ ACLOCAL_AMFLAGS = -I ./m4 EXTRA_DIST = DEMO $(wildcard m4/*.m4) +# +# install the libtool-script in the libexecdir s.t. Makefile.alberta +# can use it even if the ALBERTA _sources_ are deleted. +# +libexec_SCRIPTS = libtool.alberta +libtool.alberta: libtool + cp libtool libtool.alberta + +# +# make a DEMO tar-ball and install it in pkgdatadir for later use +# +DEMO = @PACKAGE_NAME@-@PACKAGE_VERSION@-demo +pkgdata_DATA = $(DEMO).tar.gz + +demo-tarball: $(DEMO).tar.gz + +$(DEMO): DEMO + mkdir $@ ; cd $@ ; \ + ( cd ../DEMO ; $(TAR) cf - . ) | $(TAR) xf - + +clean-local: + rm -rf $(DEMO) + if MAINTAINER_MODE # This target only makes sense for maintainers!! cvs-clean: @@ -41,3 +64,10 @@ dist-hook: endif +SUFFIXES = .gz .tar .tar.gz + +%.tar: % + $(TAR) cf $@ $< + +%.gz: % + $(GZIP) -9 $< \ No newline at end of file -- GitLab