GNUmakefile 602 B

1234567891011121314151617181920212223
  1. # Having a separate GNUmakefile lets me use features of GNU make
  2. # to generate the man pages.
  3. # This makefile is used only if you run GNU Make.
  4. # It is necessary if you want to build targets usually of interest
  5. # only to the maintainer.
  6. have-Makefile := $(shell test -f Makefile && echo yes)
  7. # If the user runs GNU make but has not yet run ./configure,
  8. # give them a diagnostic.
  9. ifeq ($(have-Makefile),yes)
  10. include Makefile
  11. include $(srcdir)/Makefile.maint
  12. else
  13. all:
  14. @echo There seems to be no Makefile in this directory.
  15. @echo "You must run ./configure before running \`make'."
  16. @exit 1
  17. endif