# $HeadURL$ $LastChangedRevision$ ifndef FILE_SUDOERS_MK FILE_SUDOERS_MK = 1 # In pass #1: load recipe generators # In pass #0: load generated recipes include method-sudoersent.mk include method-install.mk # Tell recipe generators what to generate recipes for ifeq ($(PCMS_PASS_NUM),1) all.install: sudo.install all.sudoersent: $(shell encode %sudo 'ALL=(ALL:ALL)' ALL).sudoersent # The real Makefile else ifeq ($(PCMS_PASS_NUM),0) # It is intentional that /etc/sudoers is a dependency and a side-product. sudoers.file: $(SUDOERSENT_FILES) /etc/sudoers msg --progname=$(PROGNAME) --debug=$(VERBOSELEVEL) debug 10 "$@: combining sudoersents ..." cat $(SUDOERSENT_FILES) /dev/null | sort > /etc/sudoers touch $@ /etc/sudoers: sudo.install touch $@ # Force real timestamp, not the one in the deb # Stuff that is allowed not to exist. # (nothing) endif # PCMS_PASS_NUM endif # FILE_SUDOERS_MK