aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-22 23:07:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-22 23:07:12 +0000
commit4ea38620d285277f4aa1f6d68a5b6fd2cab1a384 (patch)
tree072fb95157b8509670a4dcd591d21967fb72ec86
parentb57f64531e6948f7766249872ea139ac987f8b76 (diff)
downloadpaludis-4ea38620d285277f4aa1f6d68a5b6fd2cab1a384.tar.gz
paludis-4ea38620d285277f4aa1f6d68a5b6fd2cab1a384.tar.xz
Smarter check-local trickery
-rw-r--r--Makefile.am18
1 files changed, 11 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index ac22433..2b5807f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-CLEANFILES = *~
+CLEANFILES = *~ done-check
MAINTAINERCLEANFILES = Makefile.in configure config/* aclocal.m4 \
config.h config.h.in INSTALL COPYING
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip std-options
@@ -8,10 +8,14 @@ SUBDIRS = misc test paludis ebuild src doc
doxygen :
$(MAKE) -C doc doxygen
-all-local :
- @echo
- @echo "************************************************************"
- @echo "You should run 'make check' if you have not already done so."
- @echo "************************************************************"
- @echo
+check-local :
+ touch $(top_builddir)/done-check
+
+install-data-local :
+ @[ -f $(top_builddir)/done-check ] || echo || true
+ @[ -f $(top_builddir)/done-check ] || echo "**************************************" || true
+ @[ -f $(top_builddir)/done-check ] || echo "Looks like you didn't run 'make check'" || true
+ @[ -f $(top_builddir)/done-check ] || echo " No cookies for you today. " || true
+ @[ -f $(top_builddir)/done-check ] || echo "**************************************" || true
+ @[ -f $(top_builddir)/done-check ] || echo || true