# $HeadURL$ $LastChangedRevision$ ifndef FILE_EXPORTS_MK FILE_EXPORTS_MK = 1 # In pass #1: load recipe generators # In pass #0: load generated recipes include method-exportsent.mk # Tell recipe generators what to generate recipes for ifeq ($(PCMS_PASS_NUM),1) # Write entry-level recipes # The real Makefile else ifeq ($(PCMS_PASS_NUM),0) # It is intentional that /etc/exports is a dependency and a side-product. exports.file: /etc/exports $(EXPORTSENT_FILES) msg --progname=$(PROGNAME) --debug=$(VERBOSELEVEL) info "combining exportsents ..." cat $(EXPORTSENT_FILES) /dev/null > /etc/exports touch $@ # Stuff that is allowed not to exist. /etc/exports: ; endif # PCMS_PASS_NUM endif # FILE_EXPORTS_MK