# /etc/systraq/Makefile

filetraq.conf: filetraq.main.conf filetraq.tail.conf
	echo '# $@: generated from $^' | \
          cat - filetraq.main.conf filetraq.tail.conf > $@

filetraq.main.conf:
	echo '# $@: automatically generated' > $@
	find /etc -not -readable -and -prune -or \( -perm -a+r -and -type f -and -print \) | sort >> $@
	ls -1 /home/*/.ssh/a* | sort >> $@

# find /etc -not -readable -and -prune -or \( -perm -a+r -and -type f -and -print \)
# find /etc -not -readable -and -prune -or \( -perm /002 -and -print \)

# сре 03 13:55 Gewoon Peter Bex is prima

# сре 03 13:52 find . \( -not -readable -or -fstype proc \) -and
#                        -prune -or \( -perm /002 -and -not -fstype proc -and
#                        -print \)

.PHONY: filetraq.main.conf
