# Standard things sp := $(sp).x dirstack_$(sp) := $(d) d := $(dir) # Local rules - examples are currently not installed, but could be, in # eg. usr/share/doc/openradius/examples. The default configuration- and # behaviour files are copied and chmod'ed manually, because they are renamed in # the process, and build/install doesn't deal with that. CMD_INSTETC := $(CMD_INSTETC) \ $(INST) $(d)/dictionary -m 644 -d $(INST_PREFIX)$(DIR_ETC) \ $(d)/subdicts/* -m 644 -d $(INST_PREFIX)$(DIR_ETC)/subdicts \ $(d)/modules/radldap.attrmap \ -m 644 -d $(INST_PREFIX)$(DIR_ETC)/modules ; \ cp examples/configuration.sample-usersfile $(INST_PREFIX)$(DIR_ETC)/configuration ; \ cp examples/behaviour.sample-usersfile $(INST_PREFIX)$(DIR_ETC)/behaviour ; \ chmod 640 $(INST_PREFIX)$(DIR_ETC)/configuration \ $(INST_PREFIX)$(DIR_ETC)/behaviour # Standard things d := $(dirstack_$(sp)) sp := $(basename $(sp))