# Makefile (tools/ubuntu) for installing Ubuntu-specific fixes TWEAK_MTU_DEST = /etc/network/if-up.d .PHONY: install # install tweak_mtu regardless of whether the source is newer or the # destination exists install: tweak_mtu | make_dest_dir install --mode=554 --owner=root --group=adm --preserve-timestamps $^ $(TWEAK_MTU_DEST) # Ensure the destination directory exists. # (Uses a phony intermediate target so that "$(TWEAK_MTU_DEST)" is not remade # every time.) .PHONY: make_dest_dir make_dest_dir: $(TWEAK_MTU_DEST) $(TWEAK_MTU_DEST): mkdir -p $@