diff --git a/Makefile.am b/Makefile.am index 119116b9d1dd5e3ebb800e438a97b164aabc4dc4..6910928ec9c8a4e37f439140df03f8e870cedea5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,7 @@ pkglibexec_SCRIPTS = libtool endif # -# Install the code for the ALBERTA libs. This is useful if when making an +# Install the code for the ALBERTA libs. This is useful when making an # rpm package including debug libs. # @@ -39,7 +39,7 @@ demo-tarball: $(DEMO).tar.gz $(DEMO).tar.gz: $(DEMO) $(TAR_PROGRAM) cf - $(DEMO) | $(GZIP_PROGRAM) -9 > $@ -demo: @DEMOSOURCES@ $(top_builddir)/config.status +demo: @DEMOSOURCES@ $(top_builddir)/config.status $(top_builddir)/Makefile echo $? @case '$?' in \ *config.status*) \ @@ -57,6 +57,7 @@ $(DEMO): demo for i in `find $@ -name ".svn"`; do rm -rf $$i; done for i in `find $@ -name ".libs"`; do rm -rf $$i; done rm -f $@/src/[0-9]d/Makefile.in + for i in $@/src/[0-9]d/; do ( cd $$i; make realclean ) ; done clean-local: -rm -rf $(DEMO)